简体   繁体   中英

Kubernetes can't pull docker image from AWS ECR

we are a microservice architecture on kubernetes. Since a simple kernel update. Our testing environment is unable to pull the docker images from the AWS ECR repository. We are running it on a EC2 server.

This is my error message:

Failed to pull image "595264310722.dkr.ecr.eu-central-1.amazonaws.com/com.my-company.gateway:1.0.2": rpc error: code = Unknown desc = unauthorized: authentication required.

All the rules in the IAM look fine. Do you guys have any ideas where to look?

Best regards

The solution has been found. We had a version mismatch between our client and our server version.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM