1
0
Fork 0

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
Dustin 2023-10-22 22:07:22 -05:00
parent 52153d0e20
commit 0e7bd36d34
1 changed files with 2 additions and 0 deletions

View File

@ -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