Skip to content

Latest commit

 

History

History
50 lines (33 loc) · 478 Bytes

health_check_api.md

File metadata and controls

50 lines (33 loc) · 478 Bytes

Health Check API

Liveness probe

Request

GET /healthcheck/livez

Response

{
  "state": "alive"
}
  • state: alive or dead

Examples

% curl -XGET http://localhost:8000/healthcheck/livez | jq .

Readiness probe

Request

GET /healthcheck/readyz

Response

{
  "state": "ready"
}
  • state: ready or not_ready

Examples

% curl -XGET http://localhost:8000/healthcheck/readyz | jq .