Liveness and Health Probes
Liveness Probe
This probe determines whether the DPG container is live and healthy. The liveness probe is served on non-TLS port 8080.
Endpoint
GET https://<dpg host IP>:<probes port>/liveness
Response
Service is live
{
"status": "OK"
}
Service is not live
{
"status": "503"
}
Health Probe
This probe checks current health of the DPG container and reports whether it is ready to accept traffic. The healthz probe is served on non-TLS port 8080.
Endpoint
GET https://<dpg host IP>:<probes port>/healthz
Response
Service is healthy
{
"status": "OK"
}
Service is unhealthy
{
"status": "503"
}
Note
Liveness and Health probes are available in DPG 1.3.0 and higher versions.