Pod Doctor: why is my Kubernetes pod failing?

Paste the output of kubectl describe pod. Pod Doctor reads the state, exit codes and events, explains the cause in plain English and gives the next kubectl commands to run.

Common questions

What does “0/3 nodes are available: insufficient cpu” mean?

The scheduler found no node with enough unreserved CPU for the pod's requests. Requests are what a pod reserves, not what it uses, so a node can look idle and still be full. Lower the request, add a node, or free reserved capacity.

How do I find out why a pod is in CrashLoopBackOff?

Run kubectl logs <pod> --previous to see the output of the container that crashed, and kubectl describe pod <pod> for its exit code. Exit 1 is usually an application error, 127 means the command was not found, and 137 means the process was killed, for example for going over its memory limit or after failing its liveness probe.

What is the difference between ErrImagePull and ImagePullBackOff?

ErrImagePull is the failed pull itself. ImagePullBackOff means Kubernetes is waiting before it tries again. The first “Failed to pull image” event has the real reason: a wrong tag, missing credentials, a rate limit, or no network path to the registry.

Why is my pod OOMKilled with exit code 137?

The container used more memory than its limit, so the kernel killed it. Raise the limit or reduce memory use. For JVM and Node.js apps, check that the heap size fits inside the container limit.

Why is my pod Running but not ready?

The container is up, but its readiness probe is not passing, so it receives no Service traffic. Check the probe's path, port and timing, and the pod's events.

Is it safe to paste my kubectl output here?

The output is read in your browser and is not uploaded or stored.

More free tools

  • SLO → Alert Rules: Turn an SLO into an error budget and ready-to-paste multi-window, multi-burn-rate Prometheus alert rules or a PrometheusRule. Free, runs in your browser.
  • Cert Inspector: Paste PEM certificates to check expiry, SANs and keys, find a missing intermediate or wrong chain order, and get the fixed bundle. Runs in your browser, nothing is uploaded.
  • Take-home Salary: Calculate your monthly take-home salary in Sri Lanka after EPF and APIT tax, see employer EPF and ETF, and compare up to three job offers. Uses the IRD tax table.
  • Loan True Rate: Convert a flat interest rate to the real yearly rate. See what a loan or vehicle lease really costs, including fees, and compare offers side by side.
  • Trip Splitter: Split group trip expenses. Add who paid for what and get a short list of transfers to settle up. No sign-up, one share link.

By Yohan Senadheera, Site Reliability & DevOps Engineer · All tools