Intermediate
Kubernetes
Q41 / 100
What is the difference between a "liveness probe" and a "readiness probe"?
Correct! Well done.
Incorrect.
The correct answer is B) A liveness probe determines if a container should be restarted because it is unresponsive/deadlocked, while a readiness probe determines if a container is ready to receive traffic (without necessarily restarting it if it fails)
B
Correct Answer
A liveness probe determines if a container should be restarted because it is unresponsive/deadlocked, while a readiness probe determines if a container is ready to receive traffic (without necessarily restarting it if it fails)
Explanation
Liveness probe failures cause the kubelet to restart the container; readiness probe failures simply remove the Pod from Service endpoints until it becomes ready again, without restarting it.
Progress
41/100