/livez
and /readyz
that will be used by the Health Checks:
Parameter | Description |
---|---|
path | The path to the health check endpoint. |
port | The port on which the health check endpoint is listening. |
initial_delay_seconds | Number of seconds to wait after the container has started before checking the endpoint. |
period_seconds | How often to check the endpoint. |
timeout_seconds | Number of seconds to wait for a response from the endpoint before considering it to be down. |
success_threshold | Number of times in a row the endpoint must respond successfully before the container is considered to be healthy. |
failure_threshold | Number of times in a row the endpoint can fail to respond before the container is considered to be down. |
Parameter | Value |
---|---|
path | /health |
port | 8080 |
initial_delay_seconds | 10 |
period_seconds | 5 |
timeout_seconds | 2 |
success_threshold | 3 |
failure_threshold | 2 |
GET /livez
and GET /readyz
giving 200 OK
messages indicate that the health checks are passing and that the service is healthy.