From 0d949da1bf3ee0a44c838c2ef31e8661a6389305 Mon Sep 17 00:00:00 2001 From: rohow Date: Mon, 21 Jul 2025 10:22:19 +0800 Subject: [PATCH] feat(helmchart): add preferred scheduling constraints for TCE nodes --- apps/infra/devops/reflector/helmchart.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/apps/infra/devops/reflector/helmchart.yaml b/apps/infra/devops/reflector/helmchart.yaml index 5a705c3..58d86d1 100644 --- a/apps/infra/devops/reflector/helmchart.yaml +++ b/apps/infra/devops/reflector/helmchart.yaml @@ -18,3 +18,11 @@ spec: operator: In values: - "cn-sh" + preferredDuringSchedulingIgnoredDuringExecution: + - weight: 1 + preference: + matchExpressions: + - key: kubernetes.io/hostname + operator: In + values: + - tce