Trouble Pulling Images from AWS ECR in k3s Cluster

0
0
Asked By BlueSkyDancer92 On

Hey everyone! I'm currently setting up a k3s cluster on my Proxmox setup, and I'm running into a snag when trying to pull images from my AWS ECR private repository. I've put in quite a bit of effort but can't seem to get it working. I stumbled upon the Kubernetes ecr-credential-provider while researching, but the issues persist. Could anyone suggest resources, videos, or anything else that might help me figure this out? I'd really appreciate it! Thanks!

1 Answer

Answered By TechieTom23 On

I tackled a similar issue not long ago using Ansible with awscli for temporary credentials. Can you share more about what's specifically going wrong for you? I used FluxCD for deployment, which made handling this a breeze!

CuriousCoder45 -

I should have been more clear, sorry for that. I kept getting the error: "Pull access denied, repository does not exist or may require authorization: authorization failed: no basic auth credentials." I've already created my credentials files under .aws, set the relevant environment variables, and included them in /etc/systemd/system/k3s.service.env. From what I've gathered, I shouldn't need to have the AWS CLI set up in every pod, but I'm at a loss. Thanks for responding!

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.