A Job shows `BackoffLimitExceeded` and no Pods are left to inspect.
BeginnerTroubleshootingResources, OOM, probes and termination
Answer
Likely causes → Containers failed backoffLimit + 1 times (default 6 retries). With restartPolicy: Never failed Pods are kept unless ttlSecondsAfterFinished or cleanup removed them; with OnFailure the same Pod restarts and is deleted when the Job fails.
Diagnose →
kubectl describe job db-backup | sed -n '/Events/,$p'
kubectl get pods -l job-name=db-backup
kubectl logs -l job-name=db-backup --tail=50
Fix → Use restartPolicy: Never while debugging so failed Pods stay; read their logs; fix the script. Re-run with kubectl create job db-backup-manual --from=cronjob/db-backup.
Prevent → Ship Job logs to central logging, and alert on kube_job_status_failed.
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