Docker and CI/CD · Middle · Question 63 of 75

Readiness vs liveness probe in Kubernetes: what's the difference?

Explanation

A pod that isn't ready is removed from Service endpoints but not restarted. Don't let liveness depend on the database, or an outage restarts every pod.

Further reading

Problem with a question

Docker and CI/CD · Middle · question 63

Test yourself

Take the Docker and CI/CD · Middle quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz