amazon-vpc-cni-k8s issue to pull image
bhavasarpritesh opened this issue · 2 comments
What happened:
I have updated k8s version to 1.29 and now getting error │ Warning FailedCreatePodSandBox 4m38s (x255 over 59m) kubelet Failed to create pod sandbox: rpc error: code = Unknown desc = failed to get sandbox image "877085696533.dkr.ecr.af-south-1.amazonaw ││ s.com/eks/pause:3.1-eksbuild.1": failed to pull image "877085696533.dkr.ecr.af-south-1.amazonaws.com/eks/pause:3.1-eksbuild.1": failed to pull and unpack image "877085696533.dkr.ecr.af-south-1.amazonaws.com/ek ││ s/pause:3.1-eksbuild.1": failed to resolve reference "877085696533.dkr.ecr.af-south-1.amazonaws.com/eks/pause:3.1-eksbuild.1": pull access denied, repository does not exist or may require authorization: author ││ ization failed: no basic auth credentials
Attach logs
What you expected to happen:
kubelet should be able to pull image
Environment:
- Kubernetes version (use
kubectl version
):1.29 - CNI Version - v1.16.2
@bhavasarpritesh this is an AMI issue, not an issue with the AWS VPC CNI. This is a duplicate of #2778, where the root cause is the garbage collector deleting the pause image, which is discussed in awslabs/amazon-eks-ami#1597.
This is fixed in the latest EKS AMI release: https://github.com/awslabs/amazon-eks-ami/releases/tag/v20240202
This issue is now closed. Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.