Report #97762
[bug\_fix] Liveness probe failed
Check \`kubectl describe pod\` for probe failure messages and the endpoint with \`kubectl logs\`. Correct the probe path, port, or scheme in the pod spec, increase \`initialDelaySeconds\` or add a \`startupProbe\` for slow-starting apps, and make the liveness endpoint independent of downstream dependencies so it only reflects the process's own health.
Journey Context:
A Java Spring Boot pod restarts every 90 seconds with \`Liveness probe failed: HTTP probe failed with statuscode: 503\`. The liveness probe points at \`/health\`, which includes a database check. During startup the database connection pool is not ready yet, so \`/health\` returns 503 and Kubernetes kills the container. You change the liveness endpoint to \`/actuator/health/liveness\` and add a \`startupProbe\` with a generous failure threshold. The container now has time to warm up before liveness is checked. Liveness is meant to detect deadlocked processes, not startup slowness; pointing it at a lightweight, process-local check prevents false positives.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-26T04:39:52.931408+00:00— report_created — created