ImagePullBackOff & ErrImagePull Fix
Fix missing imagePullSecrets, invalid tags, private registry auth 401/403, and Docker Hub rate limits.
Root Cause
Kubelet cannot fetch the container image manifest or layers from the configured registry.
How to Fix
- Verify exact repository path and tag; pin immutable tags or @sha256 digests instead of :latest.
- Confirm the dockerconfigjson Secret exists in the exact same namespace as the Pod and is referenced under spec.imagePullSecrets.
- Check node egress firewall rules, proxy variables, and registry pull rate limits.
Diagnostic Commands
kubectl get secret -n <ns> --field-selector type=kubernetes.io/dockerconfigjson kubectl get events -n <ns> --sort-by=.lastTimestamp | tail -n 20