Skip to content

Fix Kubernetes ImagePullBackOff / ErrImagePull

Short answer: ImagePullBackOff means Kubernetes can't pull the container image, so it backs off and retries. It's almost always one of four things: a wrong image/tag, a missing or wrong pull secret for a private registry, a registry auth/rate-limit issue, or a network/DNS problem reaching the registry. Read the exact reason with kubectl describe pod.

Last reviewed: 2026-06-27.

Diagnose it

kubectl describe pod <pod> -n <ns>          # Events show the precise pull error
kubectl get pod <pod> -n <ns> -o jsonpath='{.spec.containers[*].image}'

The describe events tell you which case it is: manifest unknown (bad tag), unauthorized/denied (auth), toomanyrequests (rate limit), or a dial/timeout (network).

Causes & fixes

Event says… Cause Fix
manifest unknown / not found wrong repo or tag fix the image reference; confirm the tag exists
unauthorized / denied missing/wrong pull secret create a docker-registry secret + reference it
toomanyrequests registry rate limit (e.g. Docker Hub) authenticate, or mirror/cache the image
dial tcp / timeout network/DNS to the registry check egress, DNS, proxy, private-registry routing
no such host typo in registry host fix the image host
# private registry pull secret
kubectl create secret docker-registry regcred \
  --docker-server=<registry> --docker-username=<u> --docker-password=<p> -n <ns>
kubectl patch deploy/<name> -n <ns> \
  -p '{"spec":{"template":{"spec":{"imagePullSecrets":[{"name":"regcred"}]}}}}'

# fix a bad tag
kubectl set image deploy/<name> app=<repo>:<good-tag> -n <ns>

How Karakuri fixes it for you

Karakuri catches the failed pull in real time, reads the events, and tells you exactly which case it is — then proposes the one-click set image (or pull-secret) fix in Slack, dry-run previewed and verified after rollout. Open source, no Prometheus. Try it: make demo.

FAQ

ErrImagePull vs ImagePullBackOff? ErrImagePull is the first failure; ImagePullBackOff is Kubernetes backing off after repeated failed pulls. Same root causes.

Why does it sometimes fix itself? Transient registry rate-limits/network blips clear on retry. A wrong tag or missing secret won't — those need the fix above.