From 375ae01b65f36ea957a2f596bd8d5613421d05bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B2=88=E5=81=A5?= Date: Thu, 17 Apr 2025 14:43:01 +0800 Subject: [PATCH] =?UTF-8?q?'=E4=BC=98=E5=8C=96=E9=83=A8=E7=BD=B2'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deliverables/k8s/fangjia-open.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/deliverables/k8s/fangjia-open.yaml b/deliverables/k8s/fangjia-open.yaml index 09660e137..b05a98219 100644 --- a/deliverables/k8s/fangjia-open.yaml +++ b/deliverables/k8s/fangjia-open.yaml @@ -21,6 +21,15 @@ spec: project: fangjia-open app: fangjia spec: + affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: kubernetes.io/hostname + operator: NotIn + values: + - "sha-216" imagePullSecrets: - name: nexus-registry-secret containers: