From 1d2c23440c1be8598cfec17e5aa56848994da957 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lauri=20V=C3=B5sandi?= Date: Tue, 27 Aug 2024 15:35:10 +0300 Subject: [PATCH] Add amd64 constraints --- templates/deployment.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/templates/deployment.yaml b/templates/deployment.yaml index f953513..fe2c4a7 100644 --- a/templates/deployment.yaml +++ b/templates/deployment.yaml @@ -16,6 +16,15 @@ spec: app: hello-gin customerName: cocacola spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: kubernetes.io/arch + operator: In + values: + - amd64 securityContext: # podi tase fsGroup: 2000 runAsGroup: 3000