Node.js · Middle · Question 63 of 75

What is a health check endpoint like /health used for?

Explanation

Kubernetes distinguishes liveness (should it be restarted?) and readiness (can it take traffic now?). Readiness can check dependencies like the database.

Further reading

Problem with a question

Node.js · Middle · question 63

Test yourself

Take the Node.js · Middle quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz