From e1f6cd849d68af3febfecc8129c659c2063139d9 Mon Sep 17 00:00:00 2001 From: Pradumna Saraf Date: Wed, 11 Sep 2024 10:07:29 +0530 Subject: [PATCH] feat: Update startupProbe and readinessProbe in Kubernetes introduction --- docs/kubernetes/introduction.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/docs/kubernetes/introduction.md b/docs/kubernetes/introduction.md index 5ea5da8..58a338c 100644 --- a/docs/kubernetes/introduction.md +++ b/docs/kubernetes/introduction.md @@ -193,6 +193,14 @@ readinessProbe: port: 8080 initialDelaySeconds: 3 periodSeconds: 3 +--- +readinessProbe: + exec: + command: + - cat + - /tmp/healthy + initialDelaySeconds: 5 + periodSeconds: 5 ``` #### Startup Probe @@ -202,7 +210,7 @@ startupProbe: httpGet: path: /health port: 8080 - failureThreshold: 30 # Number of retries before considering the container as failed + failureThreshold: 30 periodSeconds: 10 ```