I am new to AWS-EKS and am trying to create cluster and attack worker nodes and i have followed AWS documentation https://docs.aws.amazon.com/eks/latest/userguide/getting-started-console.html and using cloudformation for creating VPC with both private and public subnets and launched cluster using both private and public subnets then configured kubectl,AWS CLI and Installing aws-iam-authenticator as guided in documentation and Launched Amazon EKS Linux Worker Nodes using cloudformation yaml format and ran all commands to enable worker nodes to join your cluster but when i run kubectl get nodes i get result as No resource found.
i have run below commands to troubleshoot:
kubectl get pods following is the response
kubectl get events following is the response
i have installed kubectl on linux instances and worker nodes as well in linux instances. Please help me to fix this issue.
On top of my head 3 things can cause this:
kubectl get cm -n kube-system aws-auth -oyaml
exists and contains the right rolearn
given by the cloudformation output (node group role arn)