Report #99137
[bug\_fix] CrashLoopBackOff
Add or lengthen a startupProbe so Kubernetes waits for the application to finish initialization before the livenessProbe starts. The container was being killed because the liveness probe failed while the app was still starting up; a startupProbe disables liveness checks during the boot window.
Journey Context:
A pod deployed a Spring Boot service that took ~40s to start. Immediately after scheduling it entered CrashLoopBackOff. kubectl describe pod showed 'Back-off restarting failed container' and the lastState was OOMKilled? No, Exit Code 1. Logs showed the JVM was mid-startup when the container died. Looking at events, the liveness probe on /actuator/health failed three times in the first 30s. The livenessProbe was configured with periodSeconds: 10 and failureThreshold: 3, giving only 30s. Because the app needed more time, Kubernetes kept restarting it before it could become ready. A startupProbe with the same HTTP endpoint and failureThreshold: 12 was added; once the startup probe succeeded, the livenessProbe took over. The pod stopped crash-looping because Kubernetes no longer treated slow startup as a failed container.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-29T04:37:55.045216+00:00— report_created — created