Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions helm-charts/doris/templates/doriscluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ spec:
authSecret: {{ template "doriscluster.secret.name" . }}
{{- end }}
feSpec:
{{- if .Values.feSpec.annotations }}
annotations:
{{- toYaml .Values.feSpec.annotations | nindent 6 }}
{{- end }}
replicas: {{ .Values.feSpec.replicas }}
{{- if .Values.feSpec.electionNumber }}
electionNumber: {{ .Values.feSpec.electionNumber }}
Expand Down Expand Up @@ -123,6 +127,10 @@ spec:
{{- end }}
{{- end }}
beSpec:
{{- if .Values.beSpec.annotations }}
annotations:
{{- toYaml .Values.beSpec.annotations | nindent 6 }}
{{- end }}
replicas: {{ .Values.beSpec.replicas }}
{{- if .Values.beSpec.labels }}
podLabels:
Expand Down Expand Up @@ -206,6 +214,10 @@ spec:
{{- end }}
{{- if .Values.dorisCluster.enabledCn }}
cnSpec:
{{- if .Values.cnSpec.annotations }}
annotations:
{{- toYaml .Values.cnSpec.annotations | nindent 6 }}
{{- end }}
replicas: {{ .Values.cnSpec.replicas }}

{{- if .Values.cnSpec.labels }}
Expand Down Expand Up @@ -300,6 +312,10 @@ spec:

{{- if .Values.dorisCluster.enabledBroker }}
brokerSpec:
{{- if .Values.brokerSpec.annotations }}
annotations:
{{- toYaml .Values.brokerSpec.annotations | nindent 6 }}
{{- end }}
replicas: {{ .Values.brokerSpec.replicas }}

{{- if .Values.brokerSpec.labels }}
Expand Down
8 changes: 8 additions & 0 deletions helm-charts/doris/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ dorisCluster:
# password: dDBwLVNlY3JldA==

feSpec:
# annotations for fe pods and service
annotations: {}
replicas: 3
# electionNumber represents `FOLLOWER` number, replicas - electionNumber as `OBSERVER`
# electionNumber: 3
Expand Down Expand Up @@ -210,6 +212,8 @@ feSpec:
# command: [ "/sbin/sysctl", "-w", "vm.max_map_count=2000000" ]

beSpec:
# annotations for be pods and service
annotations: {}
replicas: 3
# the pod labels for user select or classify pods.
labels: {}
Expand Down Expand Up @@ -375,6 +379,8 @@ beSpec:
# command: [ "/sbin/sysctl", "-w", "vm.max_map_count=2000000" ]

cnSpec:
# annotations for cn pods and service
annotations: {}
replicas: 3
# the pod labels for user select or classify pods.
labels: {}
Expand Down Expand Up @@ -556,6 +562,8 @@ cnSpec:
# averageUtilization: 30

brokerSpec:
# annotations for broker pods and service
annotations: {}
replicas: 3
# the pod labels for user select or classify pods.
labels: {}
Expand Down