adamant-kite-43734
12/13/2024, 2:39 PMcreamy-pencil-82913
12/13/2024, 5:13 PMcreamy-pencil-82913
12/13/2024, 5:13 PMcreamy-pencil-82913
12/13/2024, 5:13 PMechoing-gigabyte-97458
12/13/2024, 5:14 PMcreamy-pencil-82913
12/13/2024, 5:15 PMcreamy-pencil-82913
12/13/2024, 5:15 PMcreamy-pencil-82913
12/13/2024, 5:16 PMcreamy-pencil-82913
12/13/2024, 5:16 PMechoing-gigabyte-97458
12/13/2024, 5:17 PMcreamy-pencil-82913
12/13/2024, 5:17 PMechoing-gigabyte-97458
12/13/2024, 5:23 PMThe Amazon EKS Anywhere Curated Packages are only available to customers with the Amazon EKS Anywhere Enterprise Subscription.
echoing-gigabyte-97458
12/13/2024, 5:25 PMechoing-gigabyte-97458
12/13/2024, 5:45 PMcreamy-pencil-82913
12/13/2024, 5:55 PMcreamy-pencil-82913
12/13/2024, 5:56 PMcreamy-pencil-82913
12/13/2024, 5:56 PMechoing-gigabyte-97458
12/13/2024, 5:56 PMcreamy-pencil-82913
12/13/2024, 5:57 PMadamant-portugal-53342
12/13/2024, 10:05 PMechoing-gigabyte-97458
12/13/2024, 10:18 PMcreamy-pencil-82913
12/13/2024, 10:19 PMadamant-portugal-53342
12/13/2024, 10:42 PMechoing-gigabyte-97458
12/18/2024, 8:37 AMechoing-gigabyte-97458
12/18/2024, 8:39 AMechoing-gigabyte-97458
12/18/2024, 8:40 AMechoing-gigabyte-97458
12/18/2024, 8:41 AMcreamy-pencil-82913
12/18/2024, 9:33 AMcreamy-pencil-82913
12/18/2024, 9:36 AMcreamy-pencil-82913
12/18/2024, 9:37 AMcreamy-pencil-82913
12/18/2024, 9:39 AMcreamy-pencil-82913
12/18/2024, 9:39 AMechoing-gigabyte-97458
12/18/2024, 10:00 AMecr-credential-provider
from google cloud
2 - add credentials-provider-config.yaml with the following:
apiVersion: <http://kubelet.config.k8s.io/v1|kubelet.config.k8s.io/v1>
kind: CredentialProviderConfig
providers:
- name: ecr-credential-provider
matchImages:
- "*.dkr.ecr.*.<http://amazonaws.com|amazonaws.com>"
defaultCacheDuration: "12h"
apiVersion: <http://credentialprovider.kubelet.k8s.io/v1|credentialprovider.kubelet.k8s.io/v1>
3 - add creds to /home/ubuntu/.aws/config and/or /root/.aws/config (to confirm as not sure which actually works here
[default]
aws_access_key_id =
aws_secret_access_key =
4 - add the following args to kubelet
image-credential-provider-config=/home/ubuntu/credential_provider_config.yaml
image-credential-provider-bin-dir=/home/ubuntu/ecr-credential-provider
5 - for troubleshooting add the following to kubelet arg
logtostderr=false
log-file=/var/log/kubelet.log
6 - IMPORTANT - there should be only one file in home/ubuntu/ecr-credential-provider
and that is the ecr-credential-provider
. The name MUST be exactly that and it should be exec so chmod +x home/ubuntu/ecr-credential-provider
Many thanks for your help guys.
creamy-pencil-82913
12/18/2024, 10:26 AMcreamy-pencil-82913
12/18/2024, 10:27 AMcreamy-pencil-82913
12/18/2024, 10:27 AMcreamy-pencil-82913
12/18/2024, 10:28 AMimage-credential-provider-bin-dir The path to the directory where credential provider plugin binaries are located “/var/lib/rancher/credentialprovider/bin”
image-credential-provider-config The path to the credential provider plugin config file “/var/lib/rancher/credentialprovider/config.yaml”
echoing-gigabyte-97458
12/18/2024, 10:51 AM