Health, Liveness & Readiness Probes
MTVL includes dedicated health probe endpoints designed for container orchestrators (Kubernetes, Docker Swarm, ECS, Fly.io).Health Probe Summary
Probe Behavior & Responses
Liveness Probe (/livez)
Checks if the HTTP server process is responsive. Does not ping the database to avoid cascading restarts during transient database network blips.
Readiness & Health Probe (/readyz, /healthz)
Executes a quick ping (SELECT 1) against the configured database.
- If database responds:
200 OK->{"status":"healthy","database":"connected"} - If database unreachable:
503 Service Unavailable->{"status":"unhealthy","error":"database unreachable"}