EKS Kubernetes cannot list resource "namespaces" in API group "" at the cluster scope

3/4/2020

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?

-- HARINI NATHAN
eks
kubernetes

1 Answer

3/4/2020

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.

-- Tummala Dhanvi
Source: StackOverflow