Skip to content

Commit

Permalink
Enable configuration of startupProbe in containers created using Helm (
Browse files Browse the repository at this point in the history
  • Loading branch information
allanrogerr committed Dec 15, 2022
1 parent 0689133 commit 15a8eb4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions helm/tenant/templates/tenant.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,10 @@ spec:
liveness:
{{- toYaml . | nindent 4 }}
{{- end }}
{{- with (dig "startup" (dict) .) }}
startup:
{{- toYaml . | nindent 4 }}
{{- end }}
{{- with (dig "exposeServices" (dict) .) }}
exposeServices:
{{- toYaml . | nindent 4 }}
Expand Down
3 changes: 3 additions & 0 deletions helm/tenant/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,9 @@ tenant:
# Readiness Probe for container readiness. Container will be removed from service endpoints if the probe fails.
# Refer https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/
readiness: { }
# Startup Probe for container startup. Container will be restarted if the probe fails.
# Refer https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/
startup: { }
## exposeServices defines the exposure of the MinIO object storage and Console services.
## service is exposed as a loadbalancer in k8s service.
exposeServices: { }
Expand Down

0 comments on commit 15a8eb4

Please sign in to comment.