From 4c9e9c8c034fb303d31026b9f16e8f674c8a3a74 Mon Sep 17 00:00:00 2001 From: "buu.nguyen" Date: Fri, 20 Dec 2024 02:25:51 +0700 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat:=20add=20kickOffAffinityBe=20a?= =?UTF-8?q?nd=20enableWorkloadGroup?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adds support for `kickOffAffinityBe` and `enableWorkloadGroup` in the Doris Helm chart. These new values enhance the configuration options for brokers and backend services, allowing for more flexible deployment scenarios. Updates the chart version to 1.6.2-rc.3 to reflect these changes. --- helm-charts/doris/Chart.yaml | 2 +- helm-charts/doris/templates/doriscluster.yaml | 6 ++++++ helm-charts/doris/values.yaml | 2 ++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/helm-charts/doris/Chart.yaml b/helm-charts/doris/Chart.yaml index f6e76e3..ef3d99f 100644 --- a/helm-charts/doris/Chart.yaml +++ b/helm-charts/doris/Chart.yaml @@ -38,7 +38,7 @@ maintainers: # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 1.6.2-rc.2 +version: 1.6.2-rc.3 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/helm-charts/doris/templates/doriscluster.yaml b/helm-charts/doris/templates/doriscluster.yaml index cbfeff6..8bf16ad 100644 --- a/helm-charts/doris/templates/doriscluster.yaml +++ b/helm-charts/doris/templates/doriscluster.yaml @@ -256,6 +256,9 @@ spec: {{- include "auth_proxy.alloydb" . | nindent 6 }} {{- end }} {{- end }} + {{- if .Values.beSpec.enableWorkloadGroup }} + enableWorkloadGroup: {{ .Values.beSpec.enableWorkloadGroup }} + {{- end }} {{- if .Values.dorisCluster.enabledCn }} cnSpec: replicas: {{ .Values.cnSpec.replicas }} @@ -460,4 +463,7 @@ spec: command: {{ .Values.brokerSpec.systemInitialization.command }} {{- end }} {{- end }} + {{- if .Values.brokerSpec.kickOffAffinityBe }} + kickOffAffinityBe: {{ .Values.brokerSpec.kickOffAffinityBe }} + {{- end }} {{- end }} diff --git a/helm-charts/doris/values.yaml b/helm-charts/doris/values.yaml index 3504072..f9ad7f3 100644 --- a/helm-charts/doris/values.yaml +++ b/helm-charts/doris/values.yaml @@ -427,6 +427,7 @@ beSpec: # - name: native-sidecar # image: alpine:latest # restartPolicy: Always + enableWorkloadGroup: ~ cnSpec: replicas: 3 @@ -763,3 +764,4 @@ brokerSpec: # - name: native-sidecar # image: alpine:latest # restartPolicy: Always + kickOffAffinityBe: ~