diff --git a/helm/tenant/templates/tenant.yaml b/helm/tenant/templates/tenant.yaml index c533362c051..b4675ad205b 100644 --- a/helm/tenant/templates/tenant.yaml +++ b/helm/tenant/templates/tenant.yaml @@ -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 }} diff --git a/helm/tenant/values.yaml b/helm/tenant/values.yaml index 9326a4574a2..3fd0e62c485 100644 --- a/helm/tenant/values.yaml +++ b/helm/tenant/values.yaml @@ -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: { }