Commit 034a85c
committed
Add Kubernetes probes and graceful shutdown for zomboid
- startupProbe: 10min window (30s delay + 60x10s) for SteamCMD download + world gen
- livenessProbe: pgrep ProjectZomboid every 30s (mirrors Docker HEALTHCHECK)
- terminationGracePeriodSeconds: 120s for RCON save+quit on large worlds
Without these, K8s kills the pod during first boot before the game
downloads, and Docker HEALTHCHECKs are ignored by Kubernetes.
https://claude.ai/code/session_01FNYCPSa4yr9KkHZJ4fST381 parent 183ad26 commit 034a85c
1 file changed
Lines changed: 18 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
93 | 94 | | |
94 | 95 | | |
95 | 96 | | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
96 | 114 | | |
97 | 115 | | |
98 | 116 | | |
| |||
0 commit comments