From 2613671783b7ee3c999890a345a55e4b8bdd8a0d Mon Sep 17 00:00:00 2001 From: Richard Chen Date: Thu, 18 Apr 2024 16:04:58 +0800 Subject: [PATCH] Not running on windows node --- deploy/parameter/helm-values.yaml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/deploy/parameter/helm-values.yaml b/deploy/parameter/helm-values.yaml index 30bdb21..9eff39a 100644 --- a/deploy/parameter/helm-values.yaml +++ b/deploy/parameter/helm-values.yaml @@ -60,7 +60,15 @@ env: # Pod scheduling preferences # ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity -affinity: {} +affinity: + nodeAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + nodeSelectorTerms: + - matchExpressions: + - key: kubernetes.io/os + operator: NotIn + values: + - windows # Node labels for pod assignment # ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#nodeselector