In Kubernetes, readiness and liveness probes are used to monitor the health of a container.
The Airlock Microgateway offers the two probe endpoints:
Probe | URL | Port |
---|---|---|
Readiness probe | /healthy | 9090 |
Liveness probe | /alive | 9090 |
Currently, the two endpoints do the same. But their semantics may differ in the future. The result of a call depends on the state of the internal Apache and security gate (SG) components:
Apache running? | SG running? | Response | Call successful? |
---|---|---|---|
no connection | |||
no connection | |||
500 Internal Server Error | |||
200 OK |
Different timing and threshold settings should be considered between readiness and liveness checks, in order to receive a significant health status.