From 395e3ef8e2d3d098a584a2ff282950f9fde5a449 Mon Sep 17 00:00:00 2001 From: Deng Liu Date: Mon, 19 Aug 2024 21:13:54 -0700 Subject: [PATCH 1/5] [Enhancement] Support yaml map type config for fe, be and cn Signed-off-by: Deng Liu --- .../charts/starrocks/templates/_helpers.tpl | 51 +++++++++++++++---- 1 file changed, 42 insertions(+), 9 deletions(-) diff --git a/helm-charts/charts/kube-starrocks/charts/starrocks/templates/_helpers.tpl b/helm-charts/charts/kube-starrocks/charts/starrocks/templates/_helpers.tpl index 7e02f757..92831f2a 100644 --- a/helm-charts/charts/kube-starrocks/charts/starrocks/templates/_helpers.tpl +++ b/helm-charts/charts/kube-starrocks/charts/starrocks/templates/_helpers.tpl @@ -52,22 +52,40 @@ starrockscluster {{- define "starrockscluster.fe.config" -}} fe.conf: | -{{- if .Values.starrocksFESpec.config }} -{{- .Values.starrocksFESpec.config | nindent 2 }} +{{- if and .Values.starrocksFESpec.configyaml (kindIs "map" .Values.starrocksFESpec.configyaml) }} + {{- range $key, $value := .Values.starrocksFESpec.configyaml }} + {{ $key }} = {{ $value }} + {{- end }} +{{- else if .Values.starrocksFESpec.configyaml }} + {{ fail "configyaml must be a map" }} +{{- else }} + {{- .Values.starrocksFESpec.config | nindent 2 }} {{- end }} {{- end }} {{- define "starrockscluster.cn.config" -}} cn.conf: | -{{- if .Values.starrocksCnSpec.config }} -{{- .Values.starrocksCnSpec.config | nindent 2 }} +{{- if and .Values.starrocksCnSpec.configyaml (kindIs "map" .Values.starrocksCnSpec.configyaml) }} + {{- range $key, $value := .Values.starrocksCnSpec.configyaml }} + {{ $key }} = {{ $value }} + {{- end }} +{{- else if .Values.starrocksCnSpec.configyaml }} + {{ fail "configyaml must be a map" }} +{{- else }} + {{- .Values.starrocksCnSpec.config | nindent 2 }} {{- end }} {{- end }} {{- define "starrocksclster.be.config" -}} be.conf: | -{{- if .Values.starrocksBeSpec.config }} -{{- .Values.starrocksBeSpec.config | nindent 2 }} +{{- if and .Values.starrocksBeSpec.configyaml (kindIs "map" .Values.starrocksBeSpec.configyaml) }} + {{- range $key, $value := .Values.starrocksBeSpec.configyaml }} + {{ $key }} = {{ $value }} + {{- end }} +{{- else if .Values.starrocksBeSpec.configyaml }} + {{ fail "configyaml must be a map" }} +{{- else }} + {{- .Values.starrocksBeSpec.config | nindent 2 }} {{- end }} {{- end }} @@ -214,7 +232,12 @@ starrockscluster.fe.config.hash is used to calculate the hash value of the fe.co the first 8 digits are taken, which will be used as the annotations for pods. */}} {{- define "starrockscluster.fe.config.hash" }} - {{- if .Values.starrocksFESpec.config }} + {{- if and .Values.starrocksFESpec.configyaml (kindIs "map" .Values.starrocksFESpec.configyaml) }} + {{- $hash := toJson .Values.starrocksFESpec.configyaml | sha256sum | trunc 8 }} + {{- printf "%s" $hash }} + {{- else if .Values.starrocksFESpec.configyaml }} + {{ fail "configyaml must be a map" }} + {{- else if .Values.starrocksFESpec.config }} {{- $hash := toJson .Values.starrocksFESpec.config | sha256sum | trunc 8 }} {{- printf "%s" $hash }} {{- else }} @@ -228,7 +251,12 @@ starrockscluster.be.config.hash is used to calculate the hash value of the be.co the first 8 digits are taken, which will be used as the annotations for pods. */}} {{- define "starrockscluster.be.config.hash" }} - {{- if .Values.starrocksBeSpec.config }} + {{- if and .Values.starrocksBeSpec.configyaml (kindIs "map" .Values.starrocksBeSpec.configyaml) }} + {{- $hash := toJson .Values.starrocksBeSpec.configyaml | sha256sum | trunc 8 }} + {{- printf "%s" $hash }} + {{- else if .Values.starrocksBeSpec.configyaml }} + {{ fail "configyaml must be a map" }} + {{- else if .Values.starrocksBeSpec.config }} {{- $hash := toJson .Values.starrocksBeSpec.config | sha256sum | trunc 8 }} {{- printf "%s" $hash }} {{- else }} @@ -241,7 +269,12 @@ starrockscluster.cn.config.hash is used to calculate the hash value of the cn.co the first 8 digits are taken, which will be used as the annotations for pods. */}} {{- define "starrockscluster.cn.config.hash" }} - {{- if .Values.starrocksCnSpec.config }} + {{- if and .Values.starrocksCnSpec.configyaml (kindIs "map" .Values.starrocksCnSpec.configyaml) }} + {{- $hash := toJson .Values.starrocksCnSpec.configyaml | sha256sum | trunc 8 }} + {{- printf "%s" $hash }} + {{- else if .Values.starrocksCnSpec.configyaml }} + {{ fail "configyaml must be a map" }} + {{- else if .Values.starrocksCnSpec.config }} {{- $hash := toJson .Values.starrocksCnSpec.config | sha256sum | trunc 8 }} {{- printf "%s" $hash }} {{- else }} From f7e27cd30daca52f47c1ca7585cfc4cc09216d69 Mon Sep 17 00:00:00 2001 From: Deng Liu Date: Mon, 19 Aug 2024 21:48:02 -0700 Subject: [PATCH 2/5] u Signed-off-by: Deng Liu --- helm-charts/charts/kube-starrocks/values.yaml | 54 ++++++++++--------- 1 file changed, 30 insertions(+), 24 deletions(-) diff --git a/helm-charts/charts/kube-starrocks/values.yaml b/helm-charts/charts/kube-starrocks/values.yaml index d68e352d..a28ea945 100644 --- a/helm-charts/charts/kube-starrocks/values.yaml +++ b/helm-charts/charts/kube-starrocks/values.yaml @@ -8,7 +8,7 @@ operator: # Default values for operator. # This is a YAML-formatted file. # Declare variables to be passed into your templates. - + global: rbac: # if set true, the clusterrole, clusterrolebinding, serviceaccount resources will be created for @@ -22,17 +22,17 @@ operator: annotations: {} # Optional labels to add to serviceaccount manifest labels: {} - + # TimeZone is used to set the environment variable TZ for pod, with Asia/Shanghai as the default. timeZone: Asia/Shanghai - + # set the nameOverride values for creating the same resources with parent chart. # In version v1.7.1 or before, there is only one chart called kube-starrocks, and the chart name is the prefix # of some resources created by the chart. # In version v1.8.0, the kube-starrocks chart is split into two charts, and to keep backward compatibility, the # nameOverride is used to set the prefix of the resources created by operator chart. nameOverride: "kube-starrocks" - + starrocksOperator: # If enabled, the operator releated resources will be created, including the operator deployment, service account, # clusterrole, clusterrolebinding, and service account. @@ -112,7 +112,7 @@ starrocks: # In version v1.8.0, the kube-starrocks chart is split into two charts, and to keep backward compatibility, the # nameOverride is used to set the prefix of the resources created by starrocks chart. nameOverride: "kube-starrocks" - + # This configuration is used to modify the root password during initial deployment. # After deployment is completed, it won't take effect to modify the password here and to do a `helm upgrade`. # It also supports providing secret name that contains password, using the password in the secret instead of the plaintext in the values.yaml. @@ -130,10 +130,10 @@ starrocks: image: "" # The annotations for the Job, not including the annotations for the pod. annotations: {} - + # TimeZone is used to set the environment variable TZ for pod, with Asia/Shanghai as the default. timeZone: Asia/Shanghai - + # This configuration is used to integrate with external system DataDog. # You can enable the integration by setting the enabled to true, e.g. datalog.log.enabled=true will enable datadog agent # to collect the log. @@ -151,7 +151,7 @@ starrocks: cn: false # change to 'true' to enable profiling on CN pods; env: "starrocks-default" # the default value for DD_ENV; configMode: "service" # see https://docs.datadoghq.com/containers/cluster_agent/admission_controller/?tab=operator#configure-apm-and-dogstatsd-communication-mode - + # This configuration is used to integrate with external system Prometheus. metrics: serviceMonitor: @@ -165,7 +165,7 @@ starrocks: # scraper: prometheus-operator # Prometheus ServiceMonitor interval interval: 15s - + # deploy a starrocks cluster starrocksCluster: # the name of starrockscluster cluster, if not set, the value of nameOverride fields will be used. @@ -245,7 +245,7 @@ starrocks: # topologyKey: "kubernetes.io/hostname" # the pod labels for user select or classify pods. podLabels: {} - + # spec to deploy fe. starrocksFESpec: # number of replicas to deploy for a fe statefulset. @@ -420,6 +420,8 @@ starrocks: edit_log_port = 9010 mysql_service_nio_enabled = true sys_log_level = INFO + # A map object for setting the config. When configyaml is set, to non-empty, the configs in configyaml will take precedence and values in config field will be discarded. + configyaml: {} # mount secrets if necessary. # see https://kubernetes.io/docs/concepts/storage/volumes/#using-subpath for more details about subPath. secrets: [] @@ -437,10 +439,10 @@ starrocks: # terminationGracePeriodSeconds defines duration in seconds the FE pod needs to terminate gracefully. # default value is 120 seconds terminationGracePeriodSeconds: 120 - + # Please upgrade the CRD with v1.8.7 released version, if you want to use the following configuration. # including: startupProbeFailureSeconds, livenessProbeFailureSeconds, readinessProbeFailureSeconds - + # StartupProbeFailureSeconds defines the total failure seconds of startup Probe. # default value is 300 seconds # You can set it to 0 to disable the probe. @@ -487,7 +489,7 @@ starrocks: # volumeMounts: # - mountPath: /opt/starrocks/fe/meta # name: fe-meta # append -meta to the end of the name of the starrocksFESpec.storageSpec.name - + # spec for compute node, compute node provide compute function. starrocksCnSpec: # number of replicas to deploy for CN component. @@ -706,6 +708,8 @@ starrocks: webserver_port = 8040 heartbeat_service_port = 9050 brpc_port = 8060 + # A map object for setting the config. When configyaml is set, to non-empty, the configs in configyaml will take precedence and values in config field will be discarded. + configyaml: {} # mount secrets if necessary. # see https://kubernetes.io/docs/concepts/storage/volumes/#using-subpath for more details about subPath. secrets: [] @@ -723,10 +727,10 @@ starrocks: # terminationGracePeriodSeconds defines duration in seconds the CN pod needs to terminate gracefully. # default value is 120 seconds terminationGracePeriodSeconds: 120 - + # Please upgrade the CRD with v1.8.7 released version, if you want to use the following configuration. # including: startupProbeFailureSeconds, livenessProbeFailureSeconds, readinessProbeFailureSeconds - + # StartupProbeFailureSeconds defines the total failure seconds of startup Probe. # default value is 300 seconds # You can set it to 0 to disable the probe. @@ -775,7 +779,7 @@ starrocks: # volumeMounts: # - mountPath: /opt/starrocks/cn/storage # name: cn-data # append -data to the end of the name of the starrocksCnSpec.storageSpec.name - + # spec for component be, provide storage and compute function. starrocksBeSpec: # number of replicas to deploy. @@ -958,6 +962,8 @@ starrocks: brpc_port = 8060 sys_log_level = INFO default_rowset_type = beta + # A map object for setting the config. When configyaml is set, to non-empty, the configs in configyaml will take precedence and values in config field will be discarded. + configyaml: {} # mount secrets if necessary. # see https://kubernetes.io/docs/concepts/storage/volumes/#using-subpath for more details about subPath. secrets: [] @@ -975,10 +981,10 @@ starrocks: # terminationGracePeriodSeconds defines duration in seconds the BE pod needs to terminate gracefully. # default value is 120 seconds terminationGracePeriodSeconds: 120 - + # Please upgrade the CRD with v1.8.7 released version, if you want to use the following configuration. # including: startupProbeFailureSeconds, livenessProbeFailureSeconds, readinessProbeFailureSeconds - + # StartupProbeFailureSeconds defines the total failure seconds of startup Probe. # default value is 300 seconds # You can set it to 0 to disable the probe. @@ -1025,7 +1031,7 @@ starrocks: # volumeMounts: # - mountPath: /opt/starrocks/be/storage # name: be-data # append -data to the end of the name of the starrocksBeSpec.storageSpec.name - + # create secrets if necessary. secrets: [] # e.g. create my-secret @@ -1034,7 +1040,7 @@ starrocks: # key: | # this is the content of the secret # when mounted, key will be the name of the file - + # create configmaps if necessary. configMaps: [] # e.g. create my-configmap @@ -1043,7 +1049,7 @@ starrocks: # key: | # this is the content of the configmap # when mounted, key will be the name of the file - + # If you needs to deploy other resources, e.g. serviceAccount, you can add them here. # You can even deploy resources to different namespaces resources: [] @@ -1052,7 +1058,7 @@ starrocks: # metadata: # name: sa-for-starrocks # namespace: starrocks - + # specify the fe proxy deploy or not. starrocksFeProxySpec: # specify the fe proxy deploy or not. @@ -1125,10 +1131,10 @@ starrocks: # operator: "Equal|Exists" # value: "value" # effect: "NoSchedule|PreferNoSchedule|NoExecute(1.6 only)" - + # Please upgrade the CRD with v1.8.7 released version, if you want to use the following configuration. # including: livenessProbeFailureSeconds, readinessProbeFailureSeconds - + # LivenessProbeFailureSeconds defines the total failure seconds of liveness Probe. # default value is 15 seconds # You can set it to 0 to disable the probe. From fb29f3cee8622ceaccdb74f8b6b46554b7cb10ec Mon Sep 17 00:00:00 2001 From: Deng Liu Date: Mon, 19 Aug 2024 22:06:02 -0700 Subject: [PATCH 3/5] default values Signed-off-by: Deng Liu --- helm-charts/charts/kube-starrocks/values.yaml | 27 ++++++++++++++++--- 1 file changed, 24 insertions(+), 3 deletions(-) diff --git a/helm-charts/charts/kube-starrocks/values.yaml b/helm-charts/charts/kube-starrocks/values.yaml index a28ea945..eeb59f0b 100644 --- a/helm-charts/charts/kube-starrocks/values.yaml +++ b/helm-charts/charts/kube-starrocks/values.yaml @@ -421,7 +421,16 @@ starrocks: mysql_service_nio_enabled = true sys_log_level = INFO # A map object for setting the config. When configyaml is set, to non-empty, the configs in configyaml will take precedence and values in config field will be discarded. - configyaml: {} + configyaml: + LOG_DIR: ${STARROCKS_HOME}/log + DATE: '"$(date +%Y%m%d-%H%M%S)"' + JAVA_OPTS: '"-Dlog4j2.formatMsgNoLookups=true -Xmx8192m -XX:+UseG1GC -Xlog:gc*:${LOG_DIR}/fe.gc.log.$DATE:time"' + http_port: 8030 + rpc_port: 9020 + query_port: 9030 + edit_log_port: 9010 + mysql_service_nio_enabled: true + sys_log_level: INFO # mount secrets if necessary. # see https://kubernetes.io/docs/concepts/storage/volumes/#using-subpath for more details about subPath. secrets: [] @@ -709,7 +718,13 @@ starrocks: heartbeat_service_port = 9050 brpc_port = 8060 # A map object for setting the config. When configyaml is set, to non-empty, the configs in configyaml will take precedence and values in config field will be discarded. - configyaml: {} + configyaml: + sys_log_level: INFO + # ports for admin, web, heartbeat service + thrift_port: 9060 + webserver_port: 8040 + heartbeat_service_port: 9050 + brpc_port: 8060 # mount secrets if necessary. # see https://kubernetes.io/docs/concepts/storage/volumes/#using-subpath for more details about subPath. secrets: [] @@ -963,7 +978,13 @@ starrocks: sys_log_level = INFO default_rowset_type = beta # A map object for setting the config. When configyaml is set, to non-empty, the configs in configyaml will take precedence and values in config field will be discarded. - configyaml: {} + configyaml: + be_port: 9060 + webserver_port: 8040 + heartbeat_service_port: 9050 + brpc_port: 8060 + sys_log_level: INFO + default_rowset_type: beta # mount secrets if necessary. # see https://kubernetes.io/docs/concepts/storage/volumes/#using-subpath for more details about subPath. secrets: [] From d29a59001da03cbaa170edb51b5c53a594d8c016 Mon Sep 17 00:00:00 2001 From: Deng Liu Date: Tue, 20 Aug 2024 08:52:01 -0700 Subject: [PATCH 4/5] u Signed-off-by: Deng Liu --- helm-charts/charts/kube-starrocks/values.yaml | 36 +++++-------------- 1 file changed, 9 insertions(+), 27 deletions(-) diff --git a/helm-charts/charts/kube-starrocks/values.yaml b/helm-charts/charts/kube-starrocks/values.yaml index eeb59f0b..52e6fe11 100644 --- a/helm-charts/charts/kube-starrocks/values.yaml +++ b/helm-charts/charts/kube-starrocks/values.yaml @@ -420,17 +420,9 @@ starrocks: edit_log_port = 9010 mysql_service_nio_enabled = true sys_log_level = INFO - # A map object for setting the config. When configyaml is set, to non-empty, the configs in configyaml will take precedence and values in config field will be discarded. - configyaml: - LOG_DIR: ${STARROCKS_HOME}/log - DATE: '"$(date +%Y%m%d-%H%M%S)"' - JAVA_OPTS: '"-Dlog4j2.formatMsgNoLookups=true -Xmx8192m -XX:+UseG1GC -Xlog:gc*:${LOG_DIR}/fe.gc.log.$DATE:time"' - http_port: 8030 - rpc_port: 9020 - query_port: 9030 - edit_log_port: 9010 - mysql_service_nio_enabled: true - sys_log_level: INFO + # A map object for setting the config. When configyaml is set, to non-empty, the configs in configyaml will take + # precedence and values in config field will be discarded. + configyaml: {} # mount secrets if necessary. # see https://kubernetes.io/docs/concepts/storage/volumes/#using-subpath for more details about subPath. secrets: [] @@ -717,14 +709,9 @@ starrocks: webserver_port = 8040 heartbeat_service_port = 9050 brpc_port = 8060 - # A map object for setting the config. When configyaml is set, to non-empty, the configs in configyaml will take precedence and values in config field will be discarded. - configyaml: - sys_log_level: INFO - # ports for admin, web, heartbeat service - thrift_port: 9060 - webserver_port: 8040 - heartbeat_service_port: 9050 - brpc_port: 8060 + # A map object for setting the config. When configyaml is set, to non-empty, the configs in configyaml will take + # precedence and values in config field will be discarded. + configyaml: {} # mount secrets if necessary. # see https://kubernetes.io/docs/concepts/storage/volumes/#using-subpath for more details about subPath. secrets: [] @@ -977,14 +964,9 @@ starrocks: brpc_port = 8060 sys_log_level = INFO default_rowset_type = beta - # A map object for setting the config. When configyaml is set, to non-empty, the configs in configyaml will take precedence and values in config field will be discarded. - configyaml: - be_port: 9060 - webserver_port: 8040 - heartbeat_service_port: 9050 - brpc_port: 8060 - sys_log_level: INFO - default_rowset_type: beta + # A map object for setting the config. When configyaml is set, to non-empty, the configs in configyaml will take + # precedence and values in config field will be discarded. + configyaml: {} # mount secrets if necessary. # see https://kubernetes.io/docs/concepts/storage/volumes/#using-subpath for more details about subPath. secrets: [] From 15a63229400d33e0578222e2954715ff9e60e5ab Mon Sep 17 00:00:00 2001 From: Deng Liu Date: Tue, 20 Aug 2024 08:56:25 -0700 Subject: [PATCH 5/5] values Signed-off-by: Deng Liu --- .../charts/starrocks/values.yaml | 9 ++++ helm-charts/charts/kube-starrocks/values.yaml | 48 +++++++++---------- 2 files changed, 33 insertions(+), 24 deletions(-) diff --git a/helm-charts/charts/kube-starrocks/charts/starrocks/values.yaml b/helm-charts/charts/kube-starrocks/charts/starrocks/values.yaml index 8516923a..3dbf0082 100644 --- a/helm-charts/charts/kube-starrocks/charts/starrocks/values.yaml +++ b/helm-charts/charts/kube-starrocks/charts/starrocks/values.yaml @@ -312,6 +312,9 @@ starrocksFESpec: edit_log_port = 9010 mysql_service_nio_enabled = true sys_log_level = INFO + # A map object for setting the config. When configyaml is set, to non-empty, the configs in configyaml will take + # precedence and values in config field will be discarded. + configyaml: {} # mount secrets if necessary. # see https://kubernetes.io/docs/concepts/storage/volumes/#using-subpath for more details about subPath. secrets: [] @@ -598,6 +601,9 @@ starrocksCnSpec: webserver_port = 8040 heartbeat_service_port = 9050 brpc_port = 8060 + # A map object for setting the config. When configyaml is set, to non-empty, the configs in configyaml will take + # precedence and values in config field will be discarded. + configyaml: {} # mount secrets if necessary. # see https://kubernetes.io/docs/concepts/storage/volumes/#using-subpath for more details about subPath. secrets: [] @@ -850,6 +856,9 @@ starrocksBeSpec: brpc_port = 8060 sys_log_level = INFO default_rowset_type = beta + # A map object for setting the config. When configyaml is set, to non-empty, the configs in configyaml will take + # precedence and values in config field will be discarded. + configyaml: {} # mount secrets if necessary. # see https://kubernetes.io/docs/concepts/storage/volumes/#using-subpath for more details about subPath. secrets: [] diff --git a/helm-charts/charts/kube-starrocks/values.yaml b/helm-charts/charts/kube-starrocks/values.yaml index 52e6fe11..0efaec8f 100644 --- a/helm-charts/charts/kube-starrocks/values.yaml +++ b/helm-charts/charts/kube-starrocks/values.yaml @@ -8,7 +8,7 @@ operator: # Default values for operator. # This is a YAML-formatted file. # Declare variables to be passed into your templates. - + global: rbac: # if set true, the clusterrole, clusterrolebinding, serviceaccount resources will be created for @@ -22,17 +22,17 @@ operator: annotations: {} # Optional labels to add to serviceaccount manifest labels: {} - + # TimeZone is used to set the environment variable TZ for pod, with Asia/Shanghai as the default. timeZone: Asia/Shanghai - + # set the nameOverride values for creating the same resources with parent chart. # In version v1.7.1 or before, there is only one chart called kube-starrocks, and the chart name is the prefix # of some resources created by the chart. # In version v1.8.0, the kube-starrocks chart is split into two charts, and to keep backward compatibility, the # nameOverride is used to set the prefix of the resources created by operator chart. nameOverride: "kube-starrocks" - + starrocksOperator: # If enabled, the operator releated resources will be created, including the operator deployment, service account, # clusterrole, clusterrolebinding, and service account. @@ -112,7 +112,7 @@ starrocks: # In version v1.8.0, the kube-starrocks chart is split into two charts, and to keep backward compatibility, the # nameOverride is used to set the prefix of the resources created by starrocks chart. nameOverride: "kube-starrocks" - + # This configuration is used to modify the root password during initial deployment. # After deployment is completed, it won't take effect to modify the password here and to do a `helm upgrade`. # It also supports providing secret name that contains password, using the password in the secret instead of the plaintext in the values.yaml. @@ -130,10 +130,10 @@ starrocks: image: "" # The annotations for the Job, not including the annotations for the pod. annotations: {} - + # TimeZone is used to set the environment variable TZ for pod, with Asia/Shanghai as the default. timeZone: Asia/Shanghai - + # This configuration is used to integrate with external system DataDog. # You can enable the integration by setting the enabled to true, e.g. datalog.log.enabled=true will enable datadog agent # to collect the log. @@ -151,7 +151,7 @@ starrocks: cn: false # change to 'true' to enable profiling on CN pods; env: "starrocks-default" # the default value for DD_ENV; configMode: "service" # see https://docs.datadoghq.com/containers/cluster_agent/admission_controller/?tab=operator#configure-apm-and-dogstatsd-communication-mode - + # This configuration is used to integrate with external system Prometheus. metrics: serviceMonitor: @@ -165,7 +165,7 @@ starrocks: # scraper: prometheus-operator # Prometheus ServiceMonitor interval interval: 15s - + # deploy a starrocks cluster starrocksCluster: # the name of starrockscluster cluster, if not set, the value of nameOverride fields will be used. @@ -245,7 +245,7 @@ starrocks: # topologyKey: "kubernetes.io/hostname" # the pod labels for user select or classify pods. podLabels: {} - + # spec to deploy fe. starrocksFESpec: # number of replicas to deploy for a fe statefulset. @@ -440,10 +440,10 @@ starrocks: # terminationGracePeriodSeconds defines duration in seconds the FE pod needs to terminate gracefully. # default value is 120 seconds terminationGracePeriodSeconds: 120 - + # Please upgrade the CRD with v1.8.7 released version, if you want to use the following configuration. # including: startupProbeFailureSeconds, livenessProbeFailureSeconds, readinessProbeFailureSeconds - + # StartupProbeFailureSeconds defines the total failure seconds of startup Probe. # default value is 300 seconds # You can set it to 0 to disable the probe. @@ -490,7 +490,7 @@ starrocks: # volumeMounts: # - mountPath: /opt/starrocks/fe/meta # name: fe-meta # append -meta to the end of the name of the starrocksFESpec.storageSpec.name - + # spec for compute node, compute node provide compute function. starrocksCnSpec: # number of replicas to deploy for CN component. @@ -729,10 +729,10 @@ starrocks: # terminationGracePeriodSeconds defines duration in seconds the CN pod needs to terminate gracefully. # default value is 120 seconds terminationGracePeriodSeconds: 120 - + # Please upgrade the CRD with v1.8.7 released version, if you want to use the following configuration. # including: startupProbeFailureSeconds, livenessProbeFailureSeconds, readinessProbeFailureSeconds - + # StartupProbeFailureSeconds defines the total failure seconds of startup Probe. # default value is 300 seconds # You can set it to 0 to disable the probe. @@ -781,7 +781,7 @@ starrocks: # volumeMounts: # - mountPath: /opt/starrocks/cn/storage # name: cn-data # append -data to the end of the name of the starrocksCnSpec.storageSpec.name - + # spec for component be, provide storage and compute function. starrocksBeSpec: # number of replicas to deploy. @@ -984,10 +984,10 @@ starrocks: # terminationGracePeriodSeconds defines duration in seconds the BE pod needs to terminate gracefully. # default value is 120 seconds terminationGracePeriodSeconds: 120 - + # Please upgrade the CRD with v1.8.7 released version, if you want to use the following configuration. # including: startupProbeFailureSeconds, livenessProbeFailureSeconds, readinessProbeFailureSeconds - + # StartupProbeFailureSeconds defines the total failure seconds of startup Probe. # default value is 300 seconds # You can set it to 0 to disable the probe. @@ -1034,7 +1034,7 @@ starrocks: # volumeMounts: # - mountPath: /opt/starrocks/be/storage # name: be-data # append -data to the end of the name of the starrocksBeSpec.storageSpec.name - + # create secrets if necessary. secrets: [] # e.g. create my-secret @@ -1043,7 +1043,7 @@ starrocks: # key: | # this is the content of the secret # when mounted, key will be the name of the file - + # create configmaps if necessary. configMaps: [] # e.g. create my-configmap @@ -1052,7 +1052,7 @@ starrocks: # key: | # this is the content of the configmap # when mounted, key will be the name of the file - + # If you needs to deploy other resources, e.g. serviceAccount, you can add them here. # You can even deploy resources to different namespaces resources: [] @@ -1061,7 +1061,7 @@ starrocks: # metadata: # name: sa-for-starrocks # namespace: starrocks - + # specify the fe proxy deploy or not. starrocksFeProxySpec: # specify the fe proxy deploy or not. @@ -1134,10 +1134,10 @@ starrocks: # operator: "Equal|Exists" # value: "value" # effect: "NoSchedule|PreferNoSchedule|NoExecute(1.6 only)" - + # Please upgrade the CRD with v1.8.7 released version, if you want to use the following configuration. # including: livenessProbeFailureSeconds, readinessProbeFailureSeconds - + # LivenessProbeFailureSeconds defines the total failure seconds of liveness Probe. # default value is 15 seconds # You can set it to 0 to disable the probe.