A pod in ImagePullBackOff has a narrower problem than most stuck pods: one node tried to fetch one image and couldn't. The status is the same whether the tag has a typo, the credentials expired, Docker Hub is throttling your NAT gateway or the node can't resolve the registry's hostname.
The kubelet passes on the container runtime's error message, and that message identifies the branch. Read it before changing anything, then confirm the cause from the node.
Who this is for: engineers with a rollout stalled on an image pull, or reviewing why a node replacement turned into an outage.
What you walk away with: a way to read the pull error, a decision tree with seven branches, and the node-side commands that separate a Kubernetes problem from a registry or network problem.
Everything here is drawn from the Kubernetes v1.37 documentation and source, the containerd 2.4 source and Docker's documentation. On 17 November 2026 the commands and branches 1, 2, 4, 5 and 7 were run on one cluster (GKE 1.36.4, containerd 2.2.7), with fake credentials. Not run: Docker Hub's rate limit, a full disk, a private CA and our own mirror.
ErrImagePull and ImagePullBackOff
They're two moments in the same loop: ErrImagePull means a pull attempt just failed, ImagePullBackOff that the kubelet is waiting before the next one.
The documentation gives a compiled-in limit of 300 seconds for the delay. In the kubelet source it starts at 10 seconds and doubles, and both values are constants: unlike the crash-loop back-off, there is no kubelet setting for them.
So a fix can take up to five minutes to show. The back-off is tracked per pod and image: deleting the pod retries at once, if a controller recreates it.
Three related statuses aren't pull failures:
| Status | Meaning |
|---|---|
InvalidImageName |
The image string can't be parsed, so nothing was requested. Check for uppercase letters, a stray space or an empty variable, as in image: registry.example.com/app:. |
ErrImageNeverPull |
imagePullPolicy: Never and the image isn't on the node. |
ContainerCreating for a long time |
Possibly a large image still downloading. By default the kubelet pulls one image at a time per node (serializeImagePulls). |
Step 1: read the message
kubectl describe pod <pod> -n <namespace>
The events for a failed pull follow a fixed pattern (age column left out):
Normal Pulling kubelet spec.containers{app}: Pulling image "registry.example.com/shop/api:v1.4.2"
Warning Failed kubelet spec.containers{app}: Failed to pull image "registry.example.com/shop/api:v1.4.2": <runtime error>
Warning Failed kubelet spec.containers{app}: Error: ErrImagePull
Normal BackOff kubelet spec.containers{app}: Back-off pulling image "registry.example.com/shop/api:v1.4.2"
Warning Failed kubelet spec.containers{app}: Error: ImagePullBackOff
The second line is the one that matters. Everything after the image name comes from the container runtime.
Events expire (How to read Kubernetes events), and on a pod that has been failing for a while that Failed event may be gone. The container status keeps the last pull error, also during the back-off:
kubectl get pod <pod> -n <namespace> -o jsonpath='{range .status.containerStatuses[*]}{.name}{": "}{.state.waiting.reason}{" — "}{.state.waiting.message}{"\n"}{end}'
Init containers are under .status.initContainerStatuses. Note which image failed: with injected sidecars it may not be one you wrote.
Step 2: follow the tree
Failed to pull image "…": <runtime error>
│
├─ "not found" → Branch 1: name, tag or digest
├─ "pull access denied", "authorization → Branch 2: credentials
│ failed", "401 Unauthorized",
│ "403 Forbidden"
├─ "429 Too Many Requests", → Branch 3: rate limit
│ "pull rate limit"
├─ "no match for platform in manifest" → Branch 4: architecture
├─ "no such host", "i/o timeout", "x509", → Branch 5: network, proxy,
│ "connection refused" DNS or TLS from the node
├─ "no space left on device" → Branch 6: disk
└─ worked yesterday, same manifest → Branch 7: pull policy and
cached images
The fragments for branches 1, 2 and 4 are from the containerd source. Those for branches 5 and 6 are Go and Linux error strings that containerd passes on. HTTP statuses arrive as unexpected status from HEAD request to …: 403 Forbidden. CRI-O and registries word things differently, so match on meaning, not on exact text.
Branch 1: the name, tag or digest doesn't exist
With containerd the message ends in failed to resolve reference "…": …: not found. Check:
- The tag.
v1.4.2is not1.4.2. Tags can also be deleted, or expire under a retention policy. - The repository path. Many registries have a project or organisation level:
registry.example.com/shop/api, notregistry.example.com/api. - The registry host. An image without a host is looked up on Docker Hub:
shop/api:v1meansdocker.io/shop/api:v1. A registry that requires login may not confirm whether a repository exists, so a wrong path can also produce branch 2's message. - Templating. Print what was submitted, not what's in the chart:
kubectl get pod <pod> -n <namespace> -o jsonpath='{range .spec.containers[*]}{.image}{"\n"}{end}'
Branch 2: the registry refuses the credentials
With containerd: pull access denied, repository does not exist or may require authorization, ending in authorization failed. As the wording says, a misspelt repository looks the same, so rule out branch 1 first. Credentials that the registry's token service rejects give failed to authorize: failed to fetch oauth token: … 401 Unauthorized.
Behind a mirror the message changes: on GKE (mirror.gcr.io) a misspelt Docker Hub repository read not found, and wrong Docker Hub credentials went unnoticed.
A second event may give it away, when the pod references a Secret the kubelet couldn't find:
Warning FailedToRetrieveImagePullSecret kubelet Unable to retrieve some image pull secrets (regcred); attempting to pull the image may not succeed.
1. Does the pod reference a pull secret at all?
kubectl get pod <pod> -n <namespace> -o jsonpath='{.spec.imagePullSecrets}'
If you rely on the ServiceAccount to supply it: its imagePullSecrets are copied into the pod at creation, so existing pods don't pick up a later change, and only if the pod lists none of its own. The ServiceAccount that counts is the pod's, which is default unless the spec says otherwise.
2. Is the Secret in the pod's namespace? All imagePullSecrets must exist in the same namespace as the pod. Check this first for a workload that was copied to a new namespace.
3. Is it the right type? kubectl get secret regcred -n <namespace> -o jsonpath='{.type}' must print kubernetes.io/dockerconfigjson (or the older kubernetes.io/dockercfg).
4. Does its content match the registry? List the registry hosts it holds, without printing the credentials:
kubectl get secret regcred -n <namespace> -o jsonpath='{.data.\.dockerconfigjson}' | base64 -d | jq '.auths | keys'
The key must be the registry host as it appears in the image reference. Then consider whether the token has expired: short-lived cloud registry tokens copied into a Secret stop working on a schedule.
5. Is it the node that authenticates? On a managed platform the kubelet may call a credential provider plugin (--image-credential-provider-config, --image-credential-provider-bin-dir) that obtains credentials from a cloud identity, with no pull secret involved. The cause is then in cloud IAM, and a new node pool may have a different identity than the old one.
To create a Secret without the token ending up in your shell history, read it into a variable first:
read -rs REGISTRY_TOKEN
kubectl create secret docker-registry regcred -n <namespace> \
--docker-server=registry.example.com \
--docker-username=<user> \
--docker-password="$REGISTRY_TOKEN"
Branch 3: the registry is rate limiting you
The response is HTTP 429. For Docker Hub, Docker's documentation gives the message body as You have reached your pull rate limit. and these limits, subject to fair use (as read on 16 November 2026):
| User type | Pulls per 6 hours |
|---|---|
| Unauthenticated | 100 per IPv4 address or IPv6 /64 subnet |
| Personal (authenticated) | 200 |
| Pro, Team, Business (authenticated) | Unlimited |
Nodes behind one NAT gateway share one address and one unauthenticated allowance, and a node pool replacement, where every new node pulls every image, draws on it all at once.
Run Docker's documented check from the node, to see the address the registry sees:
TOKEN=$(curl -s "https://auth.docker.io/token?service=registry.docker.io&scope=repository:ratelimitpreview/test:pull" | jq -r .token)
curl -s --head -H "Authorization: Bearer $TOKEN" https://registry-1.docker.io/v2/ratelimitpreview/test/manifests/latest | grep -i ratelimit
The ratelimit-limit and ratelimit-remaining headers carry the answer, and Docker states that this HEAD request doesn't count as a pull. The test node got 100;w=3600: a one-hour window, not the documented six.
In the short term, authenticate the pulls with a pull secret for docker.io, so that the limit follows the account.
Branch 4: no image for this architecture
With containerd: no match for platform in manifest: not found.
The image is published as an image index with one manifest per platform, and none matches the node, for instance an arm64 node in a cluster that was amd64 only.
kubectl get node <node> -o jsonpath='{.status.nodeInfo.architecture}'
docker manifest inspect registry.example.com/shop/api:v1.4.2 | jq '.manifests[].platform'
Either publish a multi-architecture image, or keep the workload on matching nodes with a nodeSelector on kubernetes.io/arch.
A single-platform image, with no manifests list, behaves differently. containerd's source applies the platform check to the entries of an index, not to a lone manifest, so the pull succeeds and the container then fails with exec format error. That's a crash loop: see CrashLoopBackOff forensics.
Branch 5: the node can't reach the registry
The node pulls the image, not the pod. Pod-level DNS, NetworkPolicy and mesh configuration don't apply. The node's resolver, routes, firewall rules, proxy settings and trust store do, so test from the node (step 3), not from a pod.
- DNS and egress. The node's resolver can't resolve an internal registry name, or a firewall blocks the node.
- Proxy. The runtime needs its own
HTTP_PROXY,HTTPS_PROXYandNO_PROXY. A proxy set for login shells isn't seen by a systemd service. - TLS. A private CA that the runtime doesn't trust. containerd reads registry certificates and mirrors per host from
/etc/containerd/certs.d/<registry>/hosts.toml, the default location in 2.x. A registryconfig_pathset inconfig.tomlmust point at that directory.
Branch 6: the node has no room
Check the node for DiskPressure:
kubectl describe node <node> | grep DiskPressure
The kubelet's default hard eviction thresholds on Linux include imagefs.available<15% and nodefs.available<10%. A node under disk pressure is tainted and evicts pods, so expect other symptoms too. By default the kubelet removes unused images once disk usage passes 85%, down to 80%. It can't remove images in use.
Branch 7: it worked yesterday
The image was cached. With imagePullPolicy: IfNotPresent, a node that holds the image never contacts the registry. A deleted tag or an expired credential stays hidden until a pod lands on a node without the image: after a scale-up, a node replacement or image garbage collection.
The policy isn't what you assume. The defaulting rules are applied when the object is created, and not again when you later change the tag:
| Image reference | Default imagePullPolicy |
|---|---|
app:latest or no tag |
Always |
app:v1.4.2 |
IfNotPresent |
app@sha256:… |
IfNotPresent |
Always means every container start contacts the registry to resolve the tag, even if all layers are cached, so a registry outage or an exhausted rate limit stops containers from restarting.
Credentials are checked for cached images. The KubeletEnsureSecretPulledImages feature gate is beta and on by default since v1.35. With its default policy, NeverVerifyPreloadedImages, the documentation says an image that the kubelet pulled using credentials is only usable by pods presenting credentials that have pulled it successfully. A pod that used to start because another tenant's pod had already pulled a private image now has to authenticate itself. Images already on the node when the feature is first enabled count as preloaded and aren't verified. The setting is imagePullCredentialsVerificationPolicy in the kubelet configuration.
Step 3: confirm from the node
When the message is ambiguous, reproduce the pull on the node, over SSH or from a node debug pod:
kubectl debug node/<node> -it --image=ubuntu --profile=sysadmin
The host's filesystem is mounted at /host in that pod, which is privileged and stays behind when you exit, so delete it afterwards. Run the node's crictl through chroot /host (on GKE: /home/kubernetes/bin/crictl):
crictl pull registry.example.com/shop/api:v1.4.2
crictl talks to the runtime the kubelet uses, with its registry configuration, mirrors, proxy and trust store. It sends only the credentials you give it: the pod's pull secrets and the kubelet's credential provider play no part.
crictl pull result |
Conclusion |
|---|---|
Fails with the same network, TLS or not found error |
The node or the image reference, not Kubernetes credentials. |
Fails with an authorisation error, succeeds with -u <user> (it prompts for the password) |
The credentials Kubernetes supplies: branch 2. |
| Succeeds without credentials | The image is public or the runtime has credentials of its own. Look at a pull secret with wrong credentials, or at branch 7. |
crictl images lists what the node already holds, which is what branch 7 turns on.
Basic reachability, in the host's namespaces and with its trust store:
getent hosts registry.example.com
curl -sv https://registry.example.com/v2/ -o /dev/null
A registry answers /v2/ with 200 or 401. Either proves DNS, routing and TLS work. Then read the runtime's log:
journalctl -u containerd --since "15 minutes ago" | grep -i pull
Preventing the next one
Pin by digest, and avoid :latest. registry.example.com/shop/api@sha256:… can't be moved or silently replaced. You need tooling to update digests, and a retention policy that keeps deployed images: a digest doesn't protect you from deletion.
Run a pull-through cache or mirror. A registry inside your network that proxies upstream ones takes the rate limit and the external dependency out of the critical path. With containerd it's configured per upstream in hosts.toml:
# /etc/containerd/certs.d/docker.io/hosts.toml
server = "https://registry-1.docker.io"
[host."https://mirror.example.internal"]
capabilities = ["pull", "resolve"]
The mirror becomes infrastructure you must keep available and patched. A cache holds only what was pulled recently, so copy the images you need during an incident (ingress controller, CNI, monitoring agents) to your own registry.
A pod that stays Pending never reaches the pull: see Pending pods: a decision tree.