heptio / aws-quickstart

AWS Kubernetes cluster via CloudFormation and kubeadm
Apache License 2.0
223 stars 134 forks source link

Document how to make the cluster work with AWS ECR? #213

Closed bwang221 closed 3 years ago

bwang221 commented 5 years ago

Describe the solution you'd like [A clear and concise description of what you want to happen.] I can create and run clusters with the provided cloudformation template. But I have had hard time to get the PODs to pull docker images from AWS ECR. describe pod would give the following error.

what are the setup I need to make it work with AWS ECR?

Failed to pull image "00000000000.dkr.ecr.us-west-1.amazonaws.com/project:tag": rpc error: code = Unknown desc = unauthorized: authentication required

I am able to pull the same image with "docker pull" after AWS login.

Environment:

bwang221 commented 3 years ago

invalid