ImagePullBackOff means the kubelet tried to pull a container image, failed, and is now waiting longer and longer between retries (the delay caps at 300 seconds). To fix it, run kubectl describe pod, read the Failed to pull image event, and match the message: not found is a wrong name or tag, unauthorized or insufficient_scope is credentials, toomanyrequests is a registry rate limit, x509 is TLS trust, no match for platform is a CPU architecture mismatch, and no such host or i/o timeout is node DNS or egress.
The status name tells you nothing. The event message tells you almost everything. This guide goes cause by cause, starting from the exact message, and ends with the changes that stop it happening again.
What ImagePullBackOff and ErrImagePull Actually Mean
The two statuses are the same failure seen at different moments. ErrImagePull is the state right after a pull attempt fails. ImagePullBackOff is the state while the kubelet waits before the next attempt. The Kubernetes images documentation describes it plainly: the kubelet keeps retrying "with an increasing back-off delay" until it reaches "a compiled-in limit, which is 300 seconds (5 minutes)."
Two practical consequences follow:
- A pod that flips between
ErrImagePullandImagePullBackOffis behaving normally for a broken pull. Don't read anything into which one you see. - After you fix the cause, the pod can sit there for up to five minutes before the next retry. If you are impatient, delete the pod and let its controller recreate it.
This is a different problem from a container that starts and then dies. If the image pulls fine and the process exits, you are looking at CrashLoopBackOff instead, and if the last state says OOMKilled, the exit code 137 guide is the one you need.
Step 1: Read the Event Message, Not the Status
kubectl describe pod web-7d9c8b6f5-x2k4q -n shop
# Scroll to "Events:" at the bottom
# Or pull just the failure events across a namespace
kubectl get events -n shop --field-selector reason=Failed \
--sort-by=.lastTimestamp
The events usually look like this. The exact wording comes from the container runtime (containerd or CRI-O) and changes a little between versions, so match on the key phrase, not the whole string:
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal Pulling 40s (x3 over 2m) kubelet Pulling image "registry.example.com/shop/web:1.42.0"
Warning Failed 39s (x3 over 2m) kubelet Failed to pull image "registry.example.com/shop/web:1.42.0": rpc error: code = NotFound desc = failed to pull and unpack image "registry.example.com/shop/web:1.42.0": failed to resolve reference "registry.example.com/shop/web:1.42.0": registry.example.com/shop/web:1.42.0: not found
Warning Failed 39s (x3 over 2m) kubelet Error: ErrImagePull
Normal BackOff 12s (x5 over 2m) kubelet Back-off pulling image "registry.example.com/shop/web:1.42.0"
Warning Failed 12s (x5 over 2m) kubelet Error: ImagePullBackOff
Only the first Failed line is useful. Copy the image reference out of it exactly as the kubelet saw it, because that is often where the bug is: a missing registry host, a docker.io/library/ prefix you didn't expect, or a tag that came from a Helm value you forgot to set.
ImagePullBackOff error messages and their causes
| Key phrase in the event | Likely cause | First thing to check |
|---|---|---|
not found, manifest unknown |
Wrong repository, tag or digest | Does the tag exist in the registry? |
401 Unauthorized, insufficient_scope, pull access denied, authorization failed |
Missing or wrong credentials | imagePullSecrets, secret namespace, token expiry |
429 Too Many Requests, toomanyrequests |
Registry pull rate limit (often Docker Hub) | Anonymous pulls from a shared NAT IP |
x509: certificate signed by unknown authority |
Node does not trust the registry CA | containerd hosts.toml ca setting |
http: server gave HTTP response to HTTPS client |
Registry speaks plain HTTP | Registry config or a TLS front end |
no match for platform in manifest |
Image has no build for the node's architecture | arm64 nodes pulling an amd64-only image |
no such host, i/o timeout, connection refused |
Node cannot resolve or reach the registry | Node DNS, NAT gateway, firewall, proxy |
context deadline exceeded |
Very large image or slow link | Image size, registry latency |
Cause 1: Typo, Missing Tag or Deleted Image
not found almost always means the reference is wrong, not that the registry is down. The common versions in real clusters:
- The CI pipeline pushed
1.42.0but the manifest saysv1.42.0. - The image name has no registry host, so it resolved to Docker Hub.
shop/web:1.42.0becomesdocker.io/shop/web:1.42.0, which doesn't exist. - A retention policy deleted the tag. ECR lifecycle rules and Harbor tag retention both do this quietly.
- No tag at all. Kubernetes assumes
latest, and plenty of teams never pushlatest.
Check from your laptop with a tool that reads the registry without pulling layers:
# crane (go-containerregistry) or skopeo both work
crane ls registry.example.com/shop/web | tail -5
crane digest registry.example.com/shop/web:1.42.0
skopeo inspect --raw docker://registry.example.com/shop/web:1.42.0 | jq .mediaType
If the tag exists from your laptop but not from the cluster, you are almost certainly hitting a different registry (a mirror, a different region, a different account) and the problem is really cause 6.
Cause 2: Registry Authentication and imagePullSecrets
401 Unauthorized, insufficient_scope and pull access denied, repository does not exist or may require authorization all mean the same thing in practice: the registry either got no credentials or got credentials that can't read this repository. Registries often return "not found"-style wording for private repos on purpose so they don't confirm the repo exists, so treat any denial on a private image as an auth problem first.
The rules from the images documentation that trip people up:
- Every
imagePullSecretsentry must be a Secret in the same namespace as the Pod. Copying a deployment to a new namespace without copying the secret is the most common cause I see. - The Secret type must be
kubernetes.io/dockerconfigjson(or the legacykubernetes.io/dockercfg). AnOpaquesecret with the right JSON inside is ignored. - The
authskey must match the registry host exactly, including port.registry.example.com:5000andregistry.example.comare different keys.
Create the secret the boring way and attach it to the service account so every pod in the namespace gets it:
kubectl create secret docker-registry regcred \
--namespace shop \
--docker-server=registry.example.com \
--docker-username=ci-puller \
--docker-password="$REGISTRY_TOKEN"
kubectl patch serviceaccount default -n shop \
-p '{"imagePullSecrets":[{"name":"regcred"}]}'
To check what is actually inside an existing secret, decode it. You can paste the value into a Base64 decoder or do it in the shell:
kubectl get secret regcred -n shop -o jsonpath='{.data.\.dockerconfigjson}' \
| base64 -d | jq '.auths | keys'
If the host listed there doesn't match the host in the image reference, that is your bug.
Short-lived cloud registry tokens
ECR regional authorization tokens are valid for 12 hours, and cloud OAuth access tokens are usually shorter. A secret created by hand from aws ecr get-login-password works on day one and breaks the next morning. On managed clusters, prefer the node's cloud identity (EKS node role with ECR read access, GKE with Artifact Registry reader on the node service account, AKS with the ACR pull role attached) or a kubelet credential provider plugin, which fetches fresh credentials on demand.
Credential verification for cached images
There is a newer twist. Since Kubernetes 1.35 the KubeletEnsureSecretPulledImages feature is beta and on by default. With it, the kubelet checks that a pod is allowed to use a private image even when the image is already on the node, instead of letting any pod reuse a cached private image. The default policy, NeverVerifyPreloadedImages, skips images pulled outside the kubelet but verifies the rest.
The practical effect: a pod without valid pull credentials can now hit an image pull error on a node where the image already exists, which used to "work by accident". If that is what you see after an upgrade, the fix is to give the pod proper credentials, not to turn the feature off.
Cause 3: Docker Hub Rate Limits
toomanyrequests: You have reached your pull rate limit is Docker Hub telling you the source IP has run out of pulls. As of December 2026, Docker's usage page lists these limits per 6 hours:
| Account type | Pull rate limit per 6 hours |
|---|---|
| Unauthenticated | 100 per IPv4 address or IPv6 /64 subnet |
| Personal (authenticated, free) | 200 |
| Pro, Team, Business (authenticated) | Unlimited, subject to fair use |
The details that matter for clusters, from Docker's pull usage page:
- A pull of a multi-arch image counts one pull for each architecture you download. Version checks do not count.
- Anonymous limits are per IP. Every node behind one NAT gateway shares the same 100 pulls. A rolling restart of a 40-node DaemonSet plus a CI burst can drain that in minutes.
- Docker also has a separate abuse rate limit that returns a bare
429 Too Many Requests. The pull limit returns a longer message with a link to Docker's docs, which is how you tell them apart.
You can check what an IP has left without spending a pull, because a HEAD request on the manifest returns the headers but doesn't count:
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
# ratelimit-limit: 100;w=21600
# ratelimit-remaining: 20;w=21600
Run it from a node (or a debug pod on the node's network) to see the NAT IP's real budget. Fixes, from quick to durable: authenticate pulls with a paid account's token in imagePullSecrets, add a pull-through cache (Harbor proxy cache, ECR pull-through cache, Artifact Registry remote repository), and move the images you depend on into your own registry.
Cause 4: Private Registry TLS Errors
x509: certificate signed by unknown authority means the node's container runtime doesn't trust the CA that signed the registry certificate. Note that the runtime is what pulls, not kubectl and not your laptop, so adding the CA to your workstation changes nothing.
On containerd, use the per-registry hosts directory described in the containerd registry hosts docs. First make sure config_path is set (containerd 2.x syntax shown):
# /etc/containerd/config.toml
version = 3
[plugins."io.containerd.cri.v1.images".registry]
config_path = "/etc/containerd/certs.d"
Then add a directory per registry host, named exactly as it appears in the image reference including any port:
# /etc/containerd/certs.d/registry.example.com:5000/hosts.toml
server = "https://registry.example.com:5000"
[host."https://registry.example.com:5000"]
capabilities = ["pull", "resolve"]
ca = "/etc/containerd/certs.d/registry.example.com:5000/ca.crt"
Roll this out with your node image or bootstrap config, not by hand on one node. Hand-patched nodes are why "it works on node 3 but not node 7" tickets exist. Avoid skip_verify = true outside a lab.
If the message is server gave HTTP response to HTTPS client, the registry is serving plain HTTP. Put TLS in front of it. Configuring an insecure HTTP host is possible in hosts.toml, but every node then pulls images over an unauthenticated channel.
Cause 5: Architecture Mismatch ("no match for platform")
no match for platform in manifest appears when the image index has no entry for the node's OS and CPU architecture. It shows up the first time a team adds Graviton, Ampere or Apple-silicon-based nodes, and the image was built on an amd64 CI runner with a plain docker build.
Check what the image actually contains:
docker buildx imagetools inspect registry.example.com/shop/web:1.42.0
# or
crane manifest registry.example.com/shop/web:1.42.0 | jq '.manifests[].platform'
# And what the node needs
kubectl get node ip-10-0-3-17 -o jsonpath='{.status.nodeInfo.architecture}{"\n"}'
A single-platform image has no manifests list at all; read its config instead with crane config <image> | jq .architecture. If the only entry is amd64 and the node reports arm64, no amount of retrying will help. The fix is to build a multi-arch image:
docker buildx build --platform linux/amd64,linux/arm64 \
-t registry.example.com/shop/web:1.42.0 --push .
Until that ships, pin the workload to matching nodes with nodeSelector: kubernetes.io/arch: amd64.
Cause 6: Node DNS, Egress and Proxies
dial tcp: lookup registry.example.com: no such host, i/o timeout and connection refused mean the node can't reach the registry at all. Remember that the pull happens on the node, using the node's resolver and network path, not the pod network and not CoreDNS. Private clusters with no NAT gateway, VPC endpoints missing for ECR (it needs the ecr.api and ecr.dkr interface endpoints plus the S3 gateway endpoint), firewalls that allow registry-1.docker.io but not the blob CDN, and a corporate proxy that the runtime doesn't know about are the usual suspects.
Test from the node itself. If you can't SSH, kubectl debug node gives you a shell in the node's network namespace, but it needs an image that is already cached or reachable:
kubectl debug node/ip-10-0-3-17 -it --image=busybox:1.36 -- sh
# inside: chroot /host if you need node tools
nslookup registry.example.com
wget -S -O /dev/null https://registry.example.com/v2/ 2>&1 | head -3
# With crictl on the node, reproduce the exact pull the kubelet does
crictl pull registry.example.com/shop/web:1.42.0
A 401 from /v2/ is good news here: it proves DNS, routing and TLS all work, and you are back to cause 2. If the runtime needs a proxy, set HTTPS_PROXY and NO_PROXY for the containerd service (a systemd drop-in), and include your cluster's service CIDR and internal registry hosts in NO_PROXY.
Slow pulls and "context deadline exceeded"
Multi-gigabyte images (CUDA bases, ML model layers baked into the image) can exceed runtime timeouts on slow links. Pulling also competes for bandwidth: by default the kubelet pulls one image at a time, and the serializeImagePulls and maxParallelImagePulls kubelet settings control that. Shrinking the image is the real fix; parallel pulls only help when many different images are queued. Big images also eat node disk, and when the image filesystem crosses the kubelet's eviction threshold it starts deleting unused images, which means more pulls later. The same cleanup habits from our Docker "no space left on device" guide apply to node image stores.
How to Prevent ImagePullBackOff
Most pull failures in production are self-inflicted at deploy time, so prevention is mostly pipeline hygiene.
Deploy by digest. Tags can move; digests can't. The images documentation notes that when both are present, only the digest is used. Have CI write image: registry.example.com/shop/web:1.42.0@sha256:... into the manifest. You get reproducible rollouts and you never deploy a tag that was deleted or overwritten.
Verify the image exists before you apply. One crane digest call in the deploy job catches typos and missing tags before any pod is created.
Mirror external images. Copy the third-party images you depend on into your own registry (or front them with a pull-through cache) so Docker Hub limits and upstream deletions stop being your outage. Point containerd at the mirror with a hosts.toml for docker.io.
Pre-pull large or critical images. For node pools where startup time matters, bake images into the node image or run a DaemonSet that pulls them. Keep in mind that with credential verification on by default, pre-pulled private images still need valid credentials for pods that use them unless your kubelet config allowlists them.
Use IfNotPresent with immutable tags. Always re-contacts the registry on every container start, which turns a registry outage into a cluster-wide restart failure. If you deploy by digest, IfNotPresent is safe.
Check upgrades. Kubelet behaviour around images changed across recent releases, so read the image and credential sections of the release notes when you move versions. Our Kubernetes 1.38 upgrade checklist covers what to test before rolling nodes.
Frequently Asked Questions
What is the difference between ErrImagePull and ImagePullBackOff?
They describe the same failed pull. ErrImagePull is shown immediately after an attempt fails; ImagePullBackOff is shown while the kubelet waits before retrying. The wait grows with each failure up to five minutes. The cause is in the Failed to pull image event message, not in which status you happen to see.
How do I force Kubernetes to retry the image pull right away?
Delete the pod (kubectl delete pod <name>) and let the Deployment, StatefulSet or Job recreate it. The new pod starts with no back-off history. For a Deployment you can also run kubectl rollout restart deployment/<name>.
Why does the image pull work with docker pull on my laptop but not in the cluster?
Your laptop has your credentials, your DNS, your network path and usually a different CPU architecture than the nodes. The node pulls with the kubelet's credentials (pod imagePullSecrets, node identity or a credential provider), the node's resolver and the node's egress. Reproduce the pull on the node with crictl pull to see the real error.
Can a Docker Hub rate limit cause ImagePullBackOff even for public images?
Yes. Anonymous pulls are limited to 100 per 6 hours per IPv4 address or IPv6 /64, and all nodes behind one NAT share that budget. Multi-arch pulls count once per architecture downloaded. Authenticate pulls with a paid account, use a pull-through cache, or mirror the images into your own registry.
Does imagePullSecrets work across namespaces?
No. The Secret must be in the same namespace as the Pod. If you deploy the same app to several namespaces, create the secret in each one (an external-secrets or replication controller helps), or rely on node-level credentials such as the cloud provider's node identity.
Conclusion
ImagePullBackOff is a symptom, and the fix depends entirely on one line: the first Failed to pull image event. Read the key phrase, map it to the cause (reference, credentials, rate limit, TLS, architecture or network), and test the theory from where the pull really happens, on the node. Then make it rare: deploy by digest, check the image exists before applying, mirror what you don't control, and build multi-arch images before you add arm64 nodes.