Warning Failed 11m (x4 over 12m) kubelet Failed to pull image "localhost:5000/tkg/packages/core/pinniped@sha256:<#################################>": rpc error: code = NotFound desc = failed to pull and unpack image "localhost:5000/tkg/packages/core/pinniped@sha256:<#################################>": failed to resolve reference "localhost:5000/tkg/packages/core/pinniped@sha256:<#################################>": localhost:5000/tkg/packages/core/pinniped@sha256:<#################################>: not found Warning Failed 11m (x4 over 12m) kubelet Error: ErrImagePull Warning Failed 11m (x6 over 12m) kubelet Error: ImagePullBackOff
ctr -n k8s.io images list | grep pin
From above command we see sha<ID> for the image present on the CP node and sha<ID> of the image being pulled by pod does not match.vSphere with Tanzu
VMware vSphere Kubernetes service
During the upgrade, the newly added control plane (CP) node have the pod deployment referencing image locations from the previous node. However, the image available on the guest cluster's CP node is of newer version, resulting in the pod encountering an ImagePullBackOff error.
The pod deployment points to old image reference resulting in replica sets getting deployed referencing the old image from deployment.
kubectl get deployment -A | grep pinnipedkubectl get deployment pinniped-concierge-kube-cert-agent -n pinniped-concierge -o yaml | less
ctr -n k8s.io images list | grep pinniped