Skip to content

Commit ab43efa

Browse files
cleman95zirain
authored andcommitted
feat(helm): add comment best practice startupProbe
Signed-off-by: Clement Phu <clement.phu@hotmail.fr>
1 parent 2ed517b commit ab43efa

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

charts/gateway-helm/values.tmpl.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,9 @@ deployment:
7070
runAsUser: 65532
7171
seccompProfile:
7272
type: RuntimeDefault
73+
# Kubernetes best practice for controllers: use a startupProbe with a generous
74+
# failure threshold to avoid premature liveness/readiness failures during initialization.
75+
# Ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/#define-startup-probes
7376
startupProbe:
7477
httpGet:
7578
path: /healthz

0 commit comments

Comments
 (0)