Understanding Liveness vs Readiness in Kubernetes
Kubernetes probes are often misunderstood.
- Readiness tells when the pod is ready to serve traffic
- Liveness tells if the pod should be restarted
Common mistakes:
- Same probe endpoint for both → accidental restart loops
- Readiness not updated after DB disconnect
Best practice: Split endpoints and monitor probe logs during failures.
This post is licensed under CC BY 4.0 by the author.