Health checks for APIs: /healthz, /readyz, /livez, version, and metrics in OpenAPI
Liveness and readiness are different questions: is the process running, and can it serve traffic right now including its dependencies? Collapse them into one /health endpoint and Kubernetes kills a pod briefly waiting on its database, or routes traffic to a half-warmed instance. Here is the...