A pod restarts with `Last State: Terminated, Reason: Error, Exit Code: 137`, but it's not marked OOMKilled.
IntermediateTroubleshootingDisk, memory and CPU
Answer
Likely causes → 137 means SIGKILL (128 + 9), but not from the OOM killer. Usually the container didn't exit within terminationGracePeriodSeconds after SIGTERM (it ignores SIGTERM, or PID 1 is a shell that doesn't forward signals), so kubelet killed it. A liveness probe failure leads to the same path.
Diagnose →
kubectl describe pod worker-5c8 | grep -E -A6 'Last State|Liveness'
kubectl get events --field-selector involvedObject.name=worker-5c8
kubectl exec worker-5c8 -- ps -o pid,comm 1
Fix → Make the app handle SIGTERM and finish in-flight work quickly. Use exec in entrypoint scripts (exec java -jar app.jar) or tini as PID 1 so signals reach the app. Raise terminationGracePeriodSeconds if shutdown legitimately takes longer.
Prevent → Test graceful shutdown in CI (docker stop should take seconds, not hit the 10-second kill), and keep liveness probes lenient.
More on Disk, memory and CPU
The app fails to write with "No space left on device", but `df -h` shows the volume is only 40% used.Beginner`df -h` says `/` is 100% full, but `du -sh /*` only adds up to 30% of the disk.BeginnerA server shows load average 40 on 8 cores, but `top` shows CPU 60% idle and the app is crawling.BeginnerPods are being evicted with "The node was low on resource: ephemeral-storage. Container app was using 18Gi, which exceeds its request of 0."IntermediateCI build agents running Docker fail with "no space left on device" while pulling images; `/var/lib/docker` is 95% full.IntermediatePostgres on a VM died overnight; `dmesg` shows "Out of memory: Killed process 2314 (postgres) total-vm:..., anon-rss:...".Intermediate