pod-crashloop-and-oom-troubleshooting

Installation
SKILL.md

Pod CrashLoopBackOff and OOMKilled Troubleshooting

Purpose

CrashLoopBackOff is not itself a root cause — it's Kubernetes' description of a symptom (a container keeps exiting, so the kubelet keeps restarting it with exponential backoff up to a 5-minute cap). The actual cause could be an application bug, a missing dependency, a misconfigured probe killing an otherwise-healthy process, or the container being killed by the kernel's OOM killer for exceeding its memory limit — each requiring a different fix, and each easy to misdiagnose if you only look at the crash-looping status itself rather than the specific termination reason and exit code underneath it. This skill covers the diagnostic sequence for both crash-loops in general and OOMKilled specifically, including the most common mistake: repeatedly raising a memory limit to make an OOMKilled pod "stop crashing" without checking whether the real problem is a leak rather than sizing.

When to use

Installs
3
GitHub Stars
46
First Seen
Jul 28, 2026