Readiness probe
GET/readyz
200 when the drain gate is open, Postgres answers a ping and Kafka answers a metadata request (an empty, non-nil topic list). Otherwise 503 with the problem type dependency-unavailable.
Responses
- 200
- 503
Ready.
Either the service is draining (application/json body {"status":"not_ready"}) or Postgres or Kafka is not reachable (application/problem+json, dependency-unavailable, the detail names the failing dependencies).