DevOps & CI/CD
Bug Report
A 40-second database blip restarted every pod because our liveness probe checked the database
A routine database failover took 40 seconds. Our API's liveness probe queried the database, so Kubernetes killed every API pod at once, and they came back into a thundering herd of reconnects that lasted 12 minutes. What liveness, readiness and startup probes are for, and what each should check.