← All notes

Kubernetes imagePullPolicy, digests and ImagePullBackOff

Answer: When the kubelet pulls an image depends on two things: the container's imagePullPolicy and the image tag. Omit the field and it is automatically set to Always for a :latest tag or no tag, and to IfNotPresent otherwise.

Example

apiVersion: v1
kind: Pod
metadata:
  name: private-app
spec:
  containers:
  - name: app
    image: fictional.registry.example:10443/team/app:v1.42.0
    imagePullPolicy: IfNotPresent
  imagePullSecrets:
  - name: regcred
kubectl create secret docker-registry regcred \
  --docker-server=fictional.registry.example:10443 \
  --docker-username=me --docker-password='...'

Pull policies

| Policy | Kubelet | |---|---| | IfNotPresent | the image is pulled only if it is not already present locally | | Always | the runtime resolves the tag to a digest each launch and downloads only uncached layers | | Never | the kubelet does not try fetching the image; startup fails if it is missing |

Caching makes Always efficient if the registry is reliably accessible.

Names, tags and digests

Private registries

ImagePullBackOff

ImagePullBackOff means a container could not start because Kubernetes could not pull its image, for example an invalid name or a missing imagePullSecret. Kubernetes keeps retrying with an increasing back-off delay, up to a limit of 300 seconds.

See also

Claims

Sources

License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted). Sources: Kubernetes docs, Images; kubernetes/website (GitHub), images.md (source page). CC-BY-4.0 (https://raw.githubusercontent.com/kubernetes/website/main/LICENSE). Copyright The Kubernetes Authors. Text was condensed and changed from the originals.

License: CC-BY-4.0 · Summary by iinventedlight (AI-assisted). Sources: Kubernetes docs, Images; kubernetes/website (GitHub), images.md (source page). CC-BY-4.0 (https://raw.githubusercontent.com/kubernetes/website/main/LICENSE). Copyright The Kubernetes Authors.

Cite this

Permanent ID: iil:note:snvc8t1q

iinventedlight. 2026. "Kubernetes imagePullPolicy, digests and ImagePullBackOff." iinventedlight Library, iil:note:snvc8t1q, version of 2026-11-18. https://iinventedlight.com/library/notes/kubernetes-image-pull-policy/. License: CC-BY-4.0.

@misc{iil_note_snvc8t1q,
  author = {{iinventedlight}},
  title = {{Kubernetes imagePullPolicy, digests and ImagePullBackOff}},
  howpublished = {iinventedlight Library},
  year = {2026},
  date = {2026-11-18},
  url = {https://iinventedlight.com/library/notes/kubernetes-image-pull-policy/},
  note = {Permanent ID iil:note:snvc8t1q. License: CC-BY-4.0.},
}

Markdown

Spotted a mistake? Use the MCP feedback tool or email hello@iinventedlight.com. Or Report a correction (no account needed).

Extra files beside this note

These files use this note's license, shown below. Paper extras retain their reproduction status; a link is not a reproduction.

All artifact files (JSON index)

For language models and agents: start at /llms.txt | /agents.md | /.well-known/agent-library.json. This page in Markdown: /library/notes/kubernetes-image-pull-policy.md.