Kubernetesexit code > 0
ImagePullBackOff
$Status: ImagePullBackOff
Analysis
Kubernetes failed to pull the container image and is backing off (waiting) before trying again.
Common Triggers
- ●Incorrect image name or tag.
- ●Private registry requires credentials that are missing or incorrect (imagePullSecrets).
- ●Registry is down or unreachable.
Debug Checks
- $Run
kubectl describe pod <pod_name>to see the exact error from the container runtime. - $Check if you can pull the image locally with
docker pull.
Resolution
1
Correct the image name or tag in the deployment manifest.
2
Create and reference an
imagePullSecret if using a private registry.Metadata
- Tool
- Kubernetes
- Severity
- High
- Tags
- #k8s#docker#image