Skip to main content

Readiness probe

GET 

/readyz

Readiness, separate from liveness (/healthz, above): reports ready until graceful shutdown begins, at which point it flips to not_ready as the FIRST step of the shutdown sequence (ADR 0004) -- before the HTTP server stops accepting connections -- so a Kubernetes readinessProbe pointed here gets a window to stop routing new traffic before the drain that follows. /healthz stays a pure liveness signal and is never flipped by this.

Readiness also reflects the two runtime dependencies (ADR 0025): Postgres (a ping) and Kafka (broker metadata reachable). Topics are never checked. While either is unreachable the answer is a 503 dependency-unavailable problem naming the failing dependency, and /healthz stays 200.

Responses​

Ready to receive traffic.