Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aws-load-balancer-controller installed through helm shows ImagePullBackOff in us-east-1 #1694

Closed
chamarakera opened this issue Nov 30, 2020 · 3 comments

Comments

@chamarakera
Copy link

I have my EKS cluster created in us-east-1 region. I'm trying to configure aws-load-balancer-controller in my EKS cluster but cannot pull the image for aws-load-balancer-controller from 602401143452.dkr.ecr.us-west-2.amazonaws.com
602401143452.dkr.ecr.us-west-2.amazonaws.com/amazon/aws-load-balancer-controller:v2.0.1

I already have AmazonEC2ContainerRegistryReadOnly policy attached to my worker node's instance profile.

 Warning  Failed     22s                kubelet, ip-xx-xx-xxx-xxx.ec2.internal  Error: ImagePullBackOff
  Normal   Pulling    12s (x2 over 24s)  kubelet, ip-xx-xx-xxx-xxx.ec2.internal  Pulling image "602401143452.dkr.ecr.us-west-2.amazonaws.com/amazon/aws-load-balancer-controller:v2.0.1"
  Warning  Failed     12s (x2 over 23s)  kubelet, ip-xx-xx-xxx-xxx.ec2.internal  Failed to pull image "602401143452.dkr.ecr.us-west-2.amazonaws.com/amazon/aws-load-balancer-controller:v2.0.1": rpc error: code = Unknown desc = Error response from daemon: Get https://602401143452.dkr.ecr.us-west-2.amazonaws.com/v2/amazon/aws-load-balancer-controller/manifests/v2.0.1: no basic auth credentials
  Warning  Failed     12s (x2 over 23s)  kubelet, ip-xx-xx-xxx-xxx.ec2.internal  Error: ErrImagePull
@bozoli
Copy link

bozoli commented Apr 19, 2021

Hey @ckeragala
I'm facing the same issue. How did you fix it?

@kishorj
Copy link
Collaborator

kishorj commented Apr 19, 2021

@bozoli, you can refer to the release notes for the ECR images for your region, For the recent relese, https://github.com/kubernetes-sigs/aws-load-balancer-controller/releases/tag/v2.1.3.

@cepefernando
Copy link

I had the same issue, was fixed by updating the Image to use my correct region, somehow It was trying to use the us-west-1 instead of us-east-1 image.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants