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.

All Real-World Interview questions Roadmap: Interview readiness

More on Disk, memory and CPU