Report #886
[bug\_fix] ImagePullBackOff: failed to pull container image from a private registry
Create a Secret of type \`kubernetes.io/dockerconfigjson\` containing the registry credentials \(\`kubectl create secret docker-registry ...\`\), then reference it in the pod spec under \`imagePullSecrets\`. For managed clusters, prefer workload identity or a node credential provider instead of long-lived secrets where available.
Journey Context:
A pod is stuck in ImagePullBackOff. \`kubectl describe pod\` shows events like "Failed to pull image ... unauthorized: authentication required" or "pull access denied". The image tag and registry URL look correct, and the image exists when you pull it locally with \`docker login\`. The issue is that the kubelet on the node has no credentials for the private registry. You create an imagePullSecret in the same namespace and add it to the ServiceAccount or pod spec. After the secret is attached, the image pulls successfully and the pod transitions to Running. The fix works because kubelet uses imagePullSecrets when calling the CRI pull endpoint.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-13T14:54:29.660556+00:00— report_created — created