mirror of
https://github.com/arangodb/kube-arangodb.git
synced 2024-12-14 11:57:37 +00:00
29 lines
890 B
Markdown
29 lines
890 B
Markdown
---
|
|
layout: page
|
|
title: Health checks
|
|
parent: Design overview
|
|
---
|
|
|
|
# Health checks
|
|
|
|
## Liveness Probe
|
|
|
|
Liveness checks are done by Kubernetes to detect `Pods` that are still running,
|
|
but not responsive.
|
|
|
|
For agents, & dbservers a liveness probe is added for `/_api/version`.
|
|
|
|
For syncmasters a liveness probe is added for `/_api/version` with
|
|
a token in an `Authorization` header. If a monitoring token is specified,
|
|
this token is used, otherwise the syncmaster JWT token is used.
|
|
|
|
For syncworkers a liveness probe is added for `/_api/version` with
|
|
a monitoring token in an `Authorization` header.
|
|
If no monitoring token is specified, there is liveness probe added for syncworkers.
|
|
|
|
## Readiness Probe
|
|
|
|
Readiness probes are done by Kubernetes to exclude `Pods` from `Services` until
|
|
they are fully ready to handle requests.
|
|
|
|
For coordinators a readiness probe is added for `/_api/version`.
|