Reputation: 197
I have created kubernetes cluster using eks. Iam unable to create pod in worker node it showing some forbidden error (rbac). while exploring I came to know that we have to change some authentication mode configuration in kube api server but in eks we can't get master config I think So How to resolve this can someone help?
Upvotes: 3
Views: 6643
Reputation: 3380
awscli and kubectl wasn't configured correctly
configuring awscli by running the command aws configure
and then configuring kubectl by the command aws eks --region region-code update-kubeconfig --name cluster_name
fixed the issue.
Upvotes: 3