ErrImagePull

ErrImagePull is quite possibly the most common, and is fortunately straightforward to debug and diagnose. You'll see ErrImagePull as the status message when this occurs, indicating that Kubernetes was not able to retrieve the image you specified in the manifest. It's most commonly seen when simply requesting pod status:

kubectl get podsNAME                  READY STATUS       RESTARTS AGEflask-659c86495-vlplb 0/1   ErrImagePull 0        4s

You can immediately get more detailed information about why this error occurred using the kubectl describe command. It's not entirely an error condition, as Kubernetes is technically in a waiting state hoping that the image will become available.

In this example, we get more detail with this command:

kubectl describe pod ...

Get Kubernetes for Developers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.