Report #5074
[bug\_fix] Liveness probe failures causing container restarts
Run kubectl describe pod and look for Liveness probe failed followed by Killing container. Increase initialDelaySeconds and failureThreshold, or add a startupProbe with the same check and a generous failureThreshold\*periodSeconds budget so liveness checks only start after the app initializes. Make sure the probe endpoint/port is correct and reachable from inside the container.
Journey Context:
A JVM application restarts continuously after deployment. Events show Liveness probe failed: Get http://:8080/healthz: connection refused. The app takes 45 seconds to start but the liveness probe began after 10 seconds. Adding a startupProbe with failureThreshold 10 and periodSeconds 10 stops the premature kills because the startup probe covers initialization before liveness takes over.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-15T20:37:36.099734+00:00— report_created — created