What it means
ErrImagePull is the failed pull; ImagePullBackOff is Kubernetes waiting before it tries again. The image name, tag, registry or credentials are wrong, or the node can't reach the registry.
Causes and fixes
Most likely first. Run the check, and if it matches, apply the fix.
1. A typo in the image name or a tag that doesn't exist
Check:
kubectl describe pod <pod> | grep -A5 Events # "manifest unknown" or "not found"
Fix: kubectl set image deployment/<name> <container>=<image>:<existing-tag>
2. A private registry without credentials
Check:
kubectl describe pod <pod> # "unauthorized" or "pull access denied"
Fix: Create a docker-registry Secret and reference it in imagePullSecrets (or on the ServiceAccount).
3. The node can't reach the registry (DNS, proxy, firewall) or the registry rate-limits you
Check:
kubectl describe pod <pod> # "i/o timeout", "toomanyrequests"
Fix: Fix the network path, use a mirror, or authenticate to raise the rate limit.
Fix it yourself
A live machine in your browser with this problem already on it. The grader checks the result.
Open the labNo account needed for your first tries.
Related errors
- CrashLoopBackOff
A container keeps exiting, and Kubernetes waits longer and longer before restarting it.
- 0/3 nodes are available: insufficient cpu
No node fits the Pod, so the scheduler leaves it Pending and says why in the events.