Liveness and Health Probes
Liveness Probe
This probe determines whether the container is running and healthy.
ENDPOINT
[dpg_url]/liveness
RESPONSE
- Service is live - responseCode: 200 responseBody: STATUSOK
- Service is not live - responseCode: 503
Health Probe
This probe determines whether the container is ready to accept traffic.
ENDPOINT
[dpg_url]/healthz
RESPONSE
- Service is healthy - responseCode: 200 responseBody: STATUSOK
- Service is unhealthy - responseCode: 503 responseBody: Container is not healthy
Note
Liveness and Health probes are available in DPG 1.3.0 and higher versions.