Understanding Liveness vs Readiness in Kubernetes
Understanding Liveness vs Readiness in Kubernetes

Understanding Liveness vs Readiness in Kubernetes

Author
Shiv Bade
Tags
k8s
probes
liveness
readiness
Published
July 28, 2020
Featured
Slug
Tweet
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.