Hello all!
I have a new RKE2 cluster in AWS that requires IMDSv2 to be enabled. This allows the cluster to function at the moment. HOWEVER, my issue seem to be when I install CLUSTER-AUTOSCALER.
From what I can see the CLUSTER-AUTOSCALER can not assume the IAM role that I have assigned to the nodes, and will fail with the following messages:
Failed to regenerate ASG cache: cannot autodiscover ASGs: NoCredentialProviders: no valid providers in chain. Deprecated.
AND.......
Failed to create AWS Manager: cannot autodiscover ASGs: NoCredentialProviders: no valid providers in chain. Deprecated.