Open PrateekKhatri01 opened 3 years ago
Also having this issue, no problem when I was on 2.5 with the same process
Steps: Set up amazon IAM user Configured cloud credentials imported eks cluster in "Failed to communicate with cluster: Unauthorized"
Try to update the configmap file of the cluster which you are importing to the rancher. Run the below command:
kubectl edit configmap aws-auth -n kube-system
Add below configuration to your configmap file (below mapRoles) and save it:
**mapUsers: |
And then try to import the cluster.
Hi Team,
I have setup rancher on my eks cluster. When I try to import other clusters from rancher portal I am getting error:
Failed to communicate with cluster: Unauthorized
I am able to create the cluster but not able to import the clusters.
Can u please let me know why it is happening?
Rancher Version : 2.6.0