Prometheus is killed by the liveness probe during startup in a loop
IntermediateTroubleshootingPrometheus storage, memory and cardinality
Answer
Likely causes → WAL replay exceeds the probe budget, the kubelet restarts it, replay starts again from scratch.
Diagnose → kubectl describe pod shows Liveness probe failed followed by restarts; logs end during Replaying WAL.
Fix → Add a startupProbe with a generous failureThreshold * periodSeconds (e.g. 60 × 15s), or temporarily remove the liveness probe.
Prevent → Size probes for worst-case replay; the Prometheus Operator already sets a startupProbe in recent versions.
More on Prometheus storage, memory and cardinality
Prometheus pod restarts with `OOMKilled` every few hoursIntermediateA query fails with `query processing would load too many samples into memory in query execution`IntermediateHead series jumped from 2M to 9M after a deployAdvancedPrometheus logs `opening storage failed: ... unexpected EOF` / `corruption in segment` and won't startAdvancedPrometheus is in CrashLoopBackOff with `no space left on device`BeginnerPrometheus takes 15 minutes to become ready after a restartAdvanced