From e1ac9e1078b0f13337ab7770556354d63069d722 Mon Sep 17 00:00:00 2001 From: Tanguy Herbron Date: Sat, 26 Apr 2025 16:56:01 +0200 Subject: [PATCH] feat(affinity): Assign to amd64 nodes --- manifests/deployment.yaml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/manifests/deployment.yaml b/manifests/deployment.yaml index 194ed94..29ec6d2 100644 --- a/manifests/deployment.yaml +++ b/manifests/deployment.yaml @@ -13,8 +13,15 @@ spec: labels: app: immich spec: - hostname: immich - subdomain: immich + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: "kubernetes.io/arch" + operator: In + values: + - "amd64" containers: - name: immich-server image: ghcr.io/immich-app/immich-server:v1.131.3