Skip to content

Check liveness

GET
/livez
curl --request GET \
--url http://127.0.0.1:9090/livez \
--header 'X-Request-Id: 4f1c2b0e-8a7d-4c51-9e2f-3a6b8d0c1e7f'

Answers 200 with ok whenever the process answers, from the moment the admin listener opens: for a liveness probe and the container image’s health check. It asks nothing of the database or of readiness, so a database outage or a drain never gets an instance restarted. It needs no login.

  • None
X-Request-Id
string
<= 128 characters /^[A-Za-z0-9._:-]+$/

An id to follow the request by: answered back in X-Request-Id, and in the log, the audit trail and the events the request causes. 1 to 128 letters, digits, -, _, . or :; anything else is replaced by a new id.

Example
4f1c2b0e-8a7d-4c51-9e2f-3a6b8d0c1e7f

The process answers: ok and a line break.

Media typetext/plain
string
Example
ok