From 0e7bd36d34cf5ebf219ca7756da5a4059849856f Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Sun, 22 Oct 2023 22:07:22 -0500 Subject: [PATCH] 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. --- jenkins/jenkins.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/jenkins/jenkins.yaml b/jenkins/jenkins.yaml index dec28ca..69a7a70 100644 --- a/jenkins/jenkins.yaml +++ b/jenkins/jenkins.yaml @@ -137,6 +137,8 @@ spec: volumeMounts: - name: jenkins-data mountPath: /var/jenkins_home + nodeSelector: + kubernetes.io/arch: amd64 securityContext: runAsUser: 1000 fsGroup: 1000