From e3c27c04d1b3eecc48e40445efe6550a8eef31e6 Mon Sep 17 00:00:00 2001 From: jinyang09 Date: Wed, 26 Nov 2025 16:47:26 +0800 Subject: [PATCH] [feat] add nodeSelector support for disaggregated helm-charts --- .../templates/dorisdisaggregatedcluster.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/helm-charts/doris-disaggregated/templates/dorisdisaggregatedcluster.yaml b/helm-charts/doris-disaggregated/templates/dorisdisaggregatedcluster.yaml index 9d5bb08f..4a2391ab 100644 --- a/helm-charts/doris-disaggregated/templates/dorisdisaggregatedcluster.yaml +++ b/helm-charts/doris-disaggregated/templates/dorisdisaggregatedcluster.yaml @@ -76,6 +76,10 @@ spec: persistentVolumes: {{- toYaml .Values.feSpec.persistentVolumes | nindent 4 }} {{- end }} + {{- if .Values.feSpec.nodeSelector }} + nodeSelector: + {{- toYaml .Values.feSpec.nodeSelector | nindent 6 }} + {{- end }} computeGroups: {{- $originalContext := . -}} {{- range $index, $cgName := .Values.computeGroupNames }} @@ -97,4 +101,8 @@ spec: persistentVolumes: {{- toYaml $originalContext.Values.computeSpec.persistentVolumes | nindent 4 }} {{- end }} + {{- if $originalContext.Values.computeSpec.nodeSelector }} + nodeSelector: + {{- toYaml $originalContext.Values.computeSpec.nodeSelector | nindent 6 }} + {{- end }} {{- end }}