A Pod shows `RESTARTS 0` but users report it "restarted". Logs start fresh every few hours.
IntermediateTroubleshootingResources, OOM, probes and termination
Answer
Likely causes → The Pod was replaced, not restarted. A new Pod name means rollout, eviction, node scale-down by the autoscaler, spot interruption or VPA eviction. Restart count is per Pod, so it resets.
Diagnose →
kubectl get pods -l app=api -o custom-columns=NAME:.metadata.name,AGE:.metadata.creationTimestamp,NODE:.spec.nodeName
kubectl get events -A --field-selector reason=ScaleDown
kubectl get events -A | grep -Ei 'evict|preempt|spot|interrupt'
Fix → Find the actor: annotate safe-to-evict for autoscaler-sensitive Pods, add PDBs, or handle spot interruptions with graceful shutdown.
Prevent → Ship events to long-term storage (event exporter); they expire after one hour by default.
More on Resources, OOM, probes and termination
`kubectl describe pod` shows `Last State: Terminated, Reason: OOMKilled, Exit Code: 137`.BeginnerA Java service is OOMKilled at 2 GiB limit but the heap is only `-Xmx1800m`.IntermediateMany Pods on one node were killed at once and the node shows a `SystemOOM` event. Container limits were not reached.AdvancedPods show `Evicted` with `The node was low on resource: memory. Threshold quantity: 100Mi, available: 87Mi. Container app was using 1.4Gi, request is 256Mi`.IntermediateA Pod is evicted with `Pod ephemeral local storage usage exceeds the total limit of containers 1Gi`.Intermediatep99 latency spikes every few seconds, CPU usage graph shows only 40% of the limit.Advanced