Pcornel
Containers · Container Troubleshooting

ImagePullBackOff and ErrImagePull

Cheat sheet · https://pcornel.dk/topic.php?topic=6158

Back to the Topic

Answer

ImagePullBackOff/ErrImagePull mean the kubelet cannot pull the image: wrong name or tag, missing credentials, registry unreachable, or rate limits.

Remember

Read the exact error in events: not found, unauthorized, timeout, TLS. Test pulling from the node with crictl pull.

First checks

  • crictl pull <image> — first check for this topic
  • kubectl get pods -o wide — pods, status, node, IP
  • kubectl describe pod <pod> — events and conditions
  • kubectl logs <pod> [-c <c>] [--previous] — container logs (incl. previous crash)
  • kubectl get events --sort-by=.lastTimestamp — recent cluster events

Verify in this order

kubelet → runtime pull → registry auth → layers downloaded

Where it usually breaks

A typo in the tag looks the same as a deleted image.

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=6158

Confirmation

Confirm action

Continue?