Kubernetes Pod Triage: CrashLoopBackOff, OOMKilled, Pending
Reads saved kubectl describe output and container logs, offline, and names why pods crash, stay Pending or never get Ready: OOMKilled, exit codes, image pulls, missing Secrets, scheduling, volumes, probes, evictions.
$1
What it does
- Explains CrashLoopBackOff from the exit code, last state and previous logs
- Sizes memory limits for OOMKilled pods, with JVM and Node settings that fit inside them
- Tells image pull failures apart: wrong tag, missing imagePullSecret, wrong CPU architecture, rate limit
- Explains Pending pods: resource requests, taints, node selectors, unbound PersistentVolumeClaims
- Fixes probe restarts with a startupProbe built from the pod's own probe path and port
- Summarises a whole namespace's broken pods in one table
Kubernetes Pod Triage: CrashLoopBackOff, OOMKilled, Pending
Example session with this skill installed
Our order service keeps restarting in production. Here's kubectl describe pod for one of the pods.
- Read your context and instructions
- Compiled the kubernetes pod triage
Kubernetes pod triage
tokomaju/order-77c8d9e0f-prb01
Status: Running on pool-1-node-b · Verdict: container order is restarted by its liveness probe
Last State: Terminated (Error), exit code 137Restarts: 6Liveness probe failed: Get "http://10.4.2.31:8080/actuator/health/liveness": context deadline exceeded
The app answers slower than the probe's timeoutSeconds (default 1 s). The CPU limit is 250m, so a busy or starting app (JVM, Node build step) is throttled; raise it or remove the CPU limit. Add a startupProbe so slow starts aren't killed.
startupProbe:
httpGet: {path: /actuator/health/liveness, port: 8080}
periodSeconds: 5
failureThreshold: 30 # up to 150 s to start
livenessProbe:
httpGet: {path: /actuator/health/liveness, port: 8080}
timeoutSeconds: 3
Connects securely to your tools. The creator never sees your data.
About this skill
kubectl describe pod already holds the answer for most broken pods, spread over container states, exit codes, limits and the events table. Reading it takes experience; this skill does it for you, offline, so it also works on output a teammate, a CI job or a support ticket saved.
It names the cause for each pod: OOMKilled and memory limits, CrashLoopBackOff by exit code (0, 1, 126, 127, 137, 139, 143), image pull failures (wrong tag, missing imagePullSecret, arm64 image on amd64 nodes, Docker Hub rate limit, registry unreachable), missing Secrets, ConfigMaps or keys, scheduling failures (requests, taints, affinity, unbound PVCs), Multi-Attach volume errors, liveness, readiness and startup probe failures with CPU throttling, and evictions. With the previous container's logs it also points at the line that matters: DNS names that don't resolve, refused connections, bad credentials, missing env vars, read-only file systems.
How it works
- Save
kubectl describe pod(one pod or a whole namespace) and, for crashes,kubectl logs --previous. - The agent runs the bundled Python script (standard library only, no cluster access).
- You get the cause, the evidence and the YAML or Dockerfile change, and the agent applies it to your manifests or Helm values.
It reads what kubectl printed and never connects to a cluster. Node-level problems (disk pressure, network plugin, kubelet) only show through their events. Exit codes say how a process died, not why; an application error needs its logs. Events expire after about an hour by default, so describe the pod soon after the failure.
A Python 3.8+ script using only the standard library parses kubectl describe pod text (containers, init containers, states, limits, probes, events, conditions) and optional kubectl logs --previous output. It never connects to a cluster. Output is Markdown or JSON; the exit code is 1 when a pod has a problem and 2 when the input isn't describe output.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 2 days ago
- Software
Python 3.8+
- Optional
- kubectl (to save the describe output and logs)
Permissions
File Scopes
The bundled script uses only the Python standard library, makes no network calls and never talks to a cluster; it reads text you saved.
What's inside
Frequently Asked Questions
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse All Claude Skills.