Report #3562
[bug\_fix] ErrImagePull \(private registry authentication\)
Create a \`kubernetes.io/dockerconfigjson\` secret in the pod namespace and reference it under \`imagePullSecrets\` in the pod spec. If using ECR/GCR/ACR, ensure the token or workload identity is refreshed because cloud registry tokens expire.
Journey Context:
You deploy a pod that uses a private image. The status alternates between \`ErrImagePull\` and \`ImagePullBackOff\`. \`kubectl describe pod\` shows \`rpc error: code = Unknown desc = failed to pull and unpack image ... unauthorized: authentication required\`. You check that \`docker login\` works on your laptop, but cluster nodes don't share your local credentials. You create a registry secret and add it to \`imagePullSecrets\`. For ECR you instead configure the kubelet IAM role or ECR credential helper so tokens refresh automatically. The image pulls because the node now presents valid registry credentials.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-15T17:33:17.718410+00:00— report_created — created