From 14cb41d4d97c5d916bae28e35f8fcd521ce8014e Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Sat, 28 Oct 2023 09:58:47 -0500 Subject: [PATCH] bci2: Allow running on a Raspberry Pi In order to keep "big" applications that just happen to have arm64 container images, like Argo CD and Jenkins, from running on Raspberry Pis instead of VMs, I added a `du5t1n.me/machine=raspberrypi:NoExecute` taint to them. This requires any workload that should be allowed to run on a Raspberry Pi to explicitly indicate as much. Since the point of adding *k8s-aarch64-n1.pyrocufflink.blue* to the cluster was to be able to build container images, the pod template for container image jobs needs to include this toleration. --- resources/podTemplate2.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/resources/podTemplate2.yaml b/resources/podTemplate2.yaml index 5da469f..818faf6 100644 --- a/resources/podTemplate2.yaml +++ b/resources/podTemplate2.yaml @@ -17,3 +17,7 @@ spec: limits: github.com/fuse: 1 hostUsers: false + tolerations: + - key: du5t1n.me/machine + value: raspberrypi + effect: NoExecute