Confirm
Reason & exit code
kubectl describe pod <name> | grep -A 5 "Last State" → Shows reason (OOMKilled), exit code (137) and timestamp of the last crash.
Reason from JSON
kubectl get pod <name> -o jsonpath='{.status.containerStatuses[*].lastState.terminated.reason}' → One-line output, ideal for scripts and alerts.
Cluster-wide OOMs
kubectl get events -A --field-selector reason=OOMKilling | tail -20 → Finds every OOMKill across the cluster, sorted by time.