cURL
curl --request GET \ --url http://localhost:9002/healthz/ready
{ "status": "ready", "service": "authn-svc", "version": "1.0.0", "timestamp": "2024-01-15T10:30:00Z", "checks": { "database": { "status": "healthy", "latency": "2.5ms" }, "accounts_service": { "status": "healthy", "latency": "1.2ms" }, "notification_service": { "status": "healthy", "latency": "0.8ms" } } }
Kubernetes readiness probe endpoint.
Port: 9002 (private)
Performs comprehensive health checks:
Returns 200 OK when service can handle traffic, 503 Service Unavailable otherwise.
Service is ready to handle traffic
Response from the readiness probe endpoint
Current readiness status
ready
not_ready
"authn-svc"
"1.0.0"
UTC timestamp of the check
Individual health check results
Show child attributes