Problem Statement
What is the difference between a liveness probe and a readiness probe in Kubernetes?
Explanation
A readiness probe determines when a pod is ready to receive traffic, so it won’t be sent requests until this probe passes. A liveness probe determines whether the container is alive and should be restarted if it fails. Using both correctly ensures stable and healthy deployments.
