Commit 72dadb4f authored by salbiach's avatar salbiach
Browse files

yaml gpu limit to 1

parent 38b5ecaf
......@@ -29,6 +29,9 @@ spec:
containers:
- name: dh-compss-master
image: registry.gitlab.bsc.es/ppc-bsc/software/deep-health-compss/compss-eddl:latest-compss-2.8-eddlgpu-1.1-python-3.6
resources:
limits:
nvidia.com/gpu: 1 # requesting 1 GPU
imagePullPolicy: Always
ports:
- containerPort: 22
......@@ -63,7 +66,7 @@ spec:
selector:
matchLabels:
app: compss
replicas: 2
replicas: 16
template:
metadata:
labels:
......@@ -81,7 +84,10 @@ spec:
type: DirectoryOrCreate
containers:
- name: dh-compss-worker
image: registry.gitlab.bsc.es/ppc-bsc/software/deep-health-compss/compss-eddl:latest-compss-2.8-eddlgpu-1.1-python-3.6
image: registry.gitlab.bsc.es/ppc-bsc/software/deep-health-compss/compss-eddl:latest-compss-2.8-eddlgpu-1.1-python-3.6
resources:
limits:
nvidia.com/gpu: 1 # requesting 1 GPU
imagePullPolicy: Always
# env:
# - name: MY_POD_NAME
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment