Skip to content
Snippets Groups Projects
Commit f96899dc authored by Eleni Mathioulaki's avatar Eleni Mathioulaki
Browse files

feat: define resource limits for (k8s) build job

parent 79ff7e58
No related branches found
No related tags found
No related merge requests found
......@@ -33,9 +33,18 @@ spec:
- name: simplejob
image: ${BUILD_ENV_DOCKER_IMAGE}
imagePullPolicy: Always
resources:
limits:
cpu: '6'
memory: '18Gi'
requests:
cpu: '4'
memory: '12Gi'
volumeMounts:
- name: sharedbin
mountPath: /srv
- name: tmp
mountPath: /tmp
command:
- /bin/bash
- -c
......@@ -88,5 +97,7 @@ spec:
- name: sharedbin
persistentVolumeClaim:
claimName: shared-binaries
- name: tmp
emptyDir: {}
restartPolicy: Never
EOT
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