Skip to content

Commit

Permalink
feat: Update startupProbe and readinessProbe in Kubernetes introduction
Browse files Browse the repository at this point in the history
  • Loading branch information
Pradumnasaraf committed Sep 11, 2024
1 parent 94dd08d commit e1f6cd8
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion docs/kubernetes/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,14 @@ readinessProbe:
port: 8080
initialDelaySeconds: 3
periodSeconds: 3
---
readinessProbe:
exec:
command:
- cat
- /tmp/healthy
initialDelaySeconds: 5
periodSeconds: 5
```

#### Startup Probe
Expand All @@ -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
```

Expand Down

0 comments on commit e1f6cd8

Please sign in to comment.