image-pull (Pro)

NAME                   READY   STATUS             RESTARTS   AGE
r-c-77c7dc7d4b-8zn4w   0/1     ImagePullBackOff   0          6m17s

or

NAME                   READY   STATUS         RESTARTS   AGE
r-c-77c7dc7d4b-wpt8f   0/1     ErrImagePull   0          3s

When helm fails, dojo-deploy prints the release’s pods. A pod with the status ImagePullBackOff or ErrImagePull in that list makes it report Hint: image-pull in the install or upgrade phase. Helm’s own error is usually its wait timing out (see helm-wait-timeout); this page names the reason.

Cause

The cluster could not pull an image for a pod. Common reasons:

  • The image pull Secret holds a registry token the registry does not accept (for example, from an expired license).
  • The nodes reach the registry through a proxy that blocks or rewrites the request.
  • The cluster pulls from a mirror that does not have this release’s images.

Confirm

Read the events of the pod the list shows:

kubectl get pods -n <namespace>
kubectl describe pod <pod> -n <namespace>

The Events section at the end names the image and why the pull failed: unauthorized, not found, manifest unknown, or a connection error. Check the pod’s image pull Secret exists:

kubectl get pod <pod> -n <namespace> -o jsonpath='{.spec.imagePullSecrets}'
kubectl get secret <secret> -n <namespace>

Recover

Fix what the events name: the image pull Secret, the nodes’ proxy, or the mirror (copy the missing image to it). Kubernetes retries the pull on its own. Once the pods are running, run the command on the To resume: line.