How to Pull Images from AWS ECR in a k3s Cluster?

0
3
Asked By CleverPineapple42 On

Hey everyone! I'm currently setting up a k3s cluster within a Proxmox environment. While things are generally going well, I'm struggling to pull images from my private AWS ECR repository. I've done quite a bit of research on the Kubernetes ECR credential provider, but I'm still hitting roadblocks. If anyone has tips, resources, or videos that might help me troubleshoot this issue, I'd really appreciate it. Thanks a lot!

1 Answer

Answered By LoneWolf99 On

When I faced a similar issue using Ansible with AWS CLI for temporary credentials, it really helped. Can you clarify what specific errors you're seeing? I used FluxCD, and it made the whole process a lot smoother for me!

CuriousCoder88 -

I should've explained better, my mistake! I'm getting the error: "Pull access denied, repository does not exist or may require authorization: authorization failed: no basic auth credentials." I've set up my credentials files under .aws, plus environmental variables in /etc/systemd/system/k3s.service.env. I thought I wouldn't need to configure the AWS CLI for every pod, but I'm really not sure what's missing. Thanks for the help!

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.