skip to content
Alvin Lucillo

Readiness Probe in Kubernetes and API server

/ 1 min read

💻 Tech

Sometimes, a pod may be running, but the actual container isn’t yet ready, probably waiting for another process to complete (e.g., database connection) or some I/O operations. To ensure that connections are not sent to it, there’s what we call readiness probe. If the container is an API server, you may want to create a /healthz endpoint that returns 200 status response if the server is up and running.