From d47c8b543fb48124442ff49cab91690df6cca38e Mon Sep 17 00:00:00 2001 From: Jack Jackson Date: Fri, 24 Nov 2023 14:30:33 -0800 Subject: [PATCH] Affinity for arm64 (until I get multi-build working) --- helm/templates/deployment.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/helm/templates/deployment.yaml b/helm/templates/deployment.yaml index 60e0a7d..ef2b93b 100644 --- a/helm/templates/deployment.yaml +++ b/helm/templates/deployment.yaml @@ -30,6 +30,15 @@ spec: labels: role: app spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: kubernetes.io/arch + operator: In + values: + - arm64 containers: # Guidance on how to set up interaction with secure registry: # https://github.com/k3s-io/k3s/issues/1148#issuecomment-641687668