A company uses GKE to run microservices. They want to ensure the application restarts automatically if it becomes unresponsive. Which probes should they configure in their pod spec?
Using both ensures traffic is only sent to ready pods and unresponsive pods are restarted, providing complete health management.
Why this answer
Liveness probes determine when to restart a container; readiness probes determine when a pod is ready to serve traffic. Both are needed for full resilience.