What are liveness and readiness probes, and what happens when each fails?

This tests whether you know the distinct kubelet actions for each probe failure. A strong answer: liveness failure restarts the container; readiness failure removes the Pod from Service endpoints and stops traffic.
This tests whether you understand the distinct control-plane responsibilities of the kubelet and endpoint controller when probes fail. A strong answer explains that a liveness probe detects deadlocked containers; on failure, the kubelet kills and restarts the container, though traffic may still reach the Pod briefly. A readiness probe detects if the application can serve requests; on failure, the Pod's IP is removed from Service endpoints, stopping traffic immediately while the Pod keeps running.
Read the original → kubernetes.io
- #kubernetes
- #probes
- #networking
- #pod-lifecycle
- #sre
Get five bites like this every day.
Tezvyn delivers a daily feed of 60-second tech bites with quizzes to lock in what you learn.