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 }}