Skip to content
Captain's Academy0
← Kubernetes sea chart
Island 6 · Security · Port 6.15

Private registry images

Ask the Captain
Instagram
ImagePullBackOff, but the image exists. The registry is private.
You'll learn to

fix ImagePullBackOff with imagePullSecrets

Recap

  1. 1kubectl create secret docker-registry regcred
  2. 2imagePullSecrets in the pod (or on its ServiceAccount)
  3. 3The secret must be in the pod's namespace
Check yourself

A pod in dev shows ImagePullBackOff, and regcred exists only in default. What's the fix?

6.15

Stamp this lesson

Watched it and passed the check? Mark it in your logbook.