Skip to content
Open
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
13 changes: 13 additions & 0 deletions helm-charts/doris/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,19 @@ this document and doris-operator installation document are duplicated. you can s
$ helm install -f values.yaml doriscluster doris
```

## Start Timeout
`startTimeout` controls the pod start timeout (seconds) for each component spec. If not set, the operator default (300s) is used.
```yaml
feSpec:
startTimeout: 600
beSpec:
startTimeout: 600
cnSpec:
startTimeout: 600
brokerSpec:
startTimeout: 600
```

### Validate installation status
After executing the installation command, deployment and distribution, service deployment scheduling and startup will take a certain amount of time. Check the deployment status of Pods through the kubectl get pods command.
Observe that the Pod of `doriscluster` is in the `Running` state and all containers in the Pod are ready, that means, the deployment is successful.
Expand Down
12 changes: 12 additions & 0 deletions helm-charts/doris/templates/doriscluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ spec:
{{- if .Values.feSpec.electionNumber }}
electionNumber: {{ .Values.feSpec.electionNumber }}
{{- end }}
{{- if .Values.feSpec.startTimeout }}
startTimeout: {{ .Values.feSpec.startTimeout }}
{{- end }}
{{- if .Values.feSpec.labels }}
podLabels:
{{- toYaml .Values.feSpec.labels | nindent 6 }}
Expand Down Expand Up @@ -135,6 +138,9 @@ spec:
{{- toYaml .Values.beSpec.annotations | nindent 6 }}
{{- end }}
replicas: {{ .Values.beSpec.replicas }}
{{- if .Values.beSpec.startTimeout }}
startTimeout: {{ .Values.beSpec.startTimeout }}
{{- end }}
{{- if .Values.beSpec.labels }}
podLabels:
{{- toYaml .Values.beSpec.labels | nindent 6 }}
Expand Down Expand Up @@ -222,6 +228,9 @@ spec:
{{- toYaml .Values.cnSpec.annotations | nindent 6 }}
{{- end }}
replicas: {{ .Values.cnSpec.replicas }}
{{- if .Values.cnSpec.startTimeout }}
startTimeout: {{ .Values.cnSpec.startTimeout }}
{{- end }}

{{- if .Values.cnSpec.labels }}
podLabels:
Expand Down Expand Up @@ -320,6 +329,9 @@ spec:
{{- toYaml .Values.brokerSpec.annotations | nindent 6 }}
{{- end }}
replicas: {{ .Values.brokerSpec.replicas }}
{{- if .Values.brokerSpec.startTimeout }}
startTimeout: {{ .Values.brokerSpec.startTimeout }}
{{- end }}

{{- if .Values.brokerSpec.labels }}
podLabels:
Expand Down
10 changes: 8 additions & 2 deletions helm-charts/doris/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ feSpec:
replicas: 3
# electionNumber represents `FOLLOWER` number, replicas - electionNumber as `OBSERVER`
# electionNumber: 3
# pod start timeout, unit is second.
# startTimeout: 300
# the pod labels for user select or classify pods.
labels: {}
# selectdb.app.classify: "classify-1"
Expand Down Expand Up @@ -221,6 +223,8 @@ beSpec:
# annotations for be pods and service
annotations: {}
replicas: 3
# pod start timeout, unit is second.
# startTimeout: 300
# the pod labels for user select or classify pods.
labels: {}
# selectdb.app.classify: "classify-1"
Expand Down Expand Up @@ -388,6 +392,8 @@ cnSpec:
# annotations for cn pods and service
annotations: {}
replicas: 3
# pod start timeout, unit is second.
# startTimeout: 300
# the pod labels for user select or classify pods.
labels: {}
# selectdb.app.classify: "classify-1"
Expand Down Expand Up @@ -571,6 +577,8 @@ brokerSpec:
# annotations for broker pods and service
annotations: {}
replicas: 3
# pod start timeout, unit is second.
# startTimeout: 300
# the pod labels for user select or classify pods.
labels: {}
# selectdb.app.classify: "classify-1"
Expand Down Expand Up @@ -707,5 +715,3 @@ brokerSpec:
systemInitialization: {}
# initImage: "selectdb/alpine:latest"
# command: [ "/sbin/sysctl", "-w", "vm.max_map_count=2000000" ]