cURL
curl --request GET \ --url http://localhost:9002/healthz/live
{ "status": "live", "service": "authn-svc", "version": "1.0.0", "timestamp": "2024-01-15T10:30:00Z" }
Kubernetes liveness probe endpoint.
Port: 9002 (private)
Performs a quick health check to verify the service is alive:
If this fails, Kubernetes should restart the container. This check has a 2-second timeout for fast failure detection.
Service is alive
Response from the liveness probe endpoint
Current liveness status
live
unhealthy
"authn-svc"
"1.0.0"
UTC timestamp of the check