search-replica
search-replica copied to clipboard
HealthCheck & Readiness (K8S compatible)
As HealthChecks doc says, we need ~~/healthz
~~, /livez
and /readyz
endpoints.
- livez - The slot should not be in a
lost
state, elastic works. - readyz - when successfully subscribed (acquired) to the slot and ping to elastic returns 2XX