jenkins: Pin to x86_64 nodes
The Raspberry Pi usually has the most free RAM of all the Kubernetes nodes, so pods tend to get assigned there even when it would not be appropriate. Jenkins, for example definitely does not need to run there, so let's force it to run on the bigger nodes.dch-webhooks-secrets
parent
52153d0e20
commit
0e7bd36d34
|
@ -137,6 +137,8 @@ spec:
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: jenkins-data
|
- name: jenkins-data
|
||||||
mountPath: /var/jenkins_home
|
mountPath: /var/jenkins_home
|
||||||
|
nodeSelector:
|
||||||
|
kubernetes.io/arch: amd64
|
||||||
securityContext:
|
securityContext:
|
||||||
runAsUser: 1000
|
runAsUser: 1000
|
||||||
fsGroup: 1000
|
fsGroup: 1000
|
||||||
|
|
Loading…
Reference in New Issue