Replies: 1 comment 3 replies
-
No, it is not. There is no longer any cloud-provider-specific code embedded in Kubernetes. There has not been for quite a while. Neither containerd nor the kubelet know how to use IAM roles or anything else like that to obtain credentials. You should deploy a Kubelet image credential provider plugin if you want to use IAM roles instead of static credentials.
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have an rke2 1.28.11 cluster deployed in AWS.
I'd like to pull docker images from my docker registry, but fallback to ECR if the image cannot be found. I have the following
registries.yaml
With this, I can see the fallback behavior working in containerd logs
The cluster is able to pull directly from ECR as a result of having the cloud-provider flags. My understanding is that this leverages the attached IAM role.
Is there a way to specify the same authentication method in
registries.yaml
as what's otherwise used when trying to pull directly from ECR?Beta Was this translation helpful? Give feedback.
All reactions