Unable to pull the image from AWS ECR to my kubernetes cluster on AWS

6/11/2018

enter image description hereI have created a Kubernetes cluster using Kubeadm on AWS. I have private repository for my docker images on AWS called ECR. When I tried to pull this image from AWS ECR to my kubernetes cluster using kubectl run command. It creates the deployment but in the pod It displays errImagePulling. I understand from kubernetes documents that we don't need to create a secret policy while pulling image from AWS ECR as both cluster and image registry on the AWS itself. I attached my policy document also. can someone please help me out?

-- Krishh
amazon-ec2
amazon-web-services
docker
kubernetes

0 Answers