<p>I am new to AWS-EKS and am trying to create cluster and attack worker nodes and i have followed AWS documentation <a href="https://docs.aws.amazon.com/eks/latest/userguide/getting-started-console.html" rel="nofollow noreferrer">https://docs.aws.amazon.com/eks/latest/userguide/getting-started-console.html</a> 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.</p>

<p>i have run below commands to troubleshoot:</p>

<p>kubectl get pods
<a href="https://i.stack.imgur.com/JuJ07.png" rel="nofollow noreferrer">following is the response</a></p>

<p>kubectl get events <a href="https://i.stack.imgur.com/qwRDT.png" rel="nofollow noreferrer">following is the response</a></p>

<p>i have installed kubectl on linux instances and worker nodes as well in linux instances. Please help me to fix this issue.</p>

<p>On top of my head 3 things can cause this:</p>

<ol>
<li>aws-auth might not be setup properly. Make sure <code>kubectl get cm -n kube-system aws-auth -oyaml</code> exists and contains the right <code>rolearn</code> given by the cloudformation output (node group role arn)</li>
<li>The ControlPlane security group might not allow the subnets of your nodes.</li>
<li>The ClusterName does not match the actual EKS ClusterName</li>
</ol>
