Unable to list nodes from EC2-VM - couldn't get current server API group list: Get "https://20C65533F05DF3F9E67678DDF25B032.gr7.us-east-1.eks.amazonaws.com/api?timeout=32s

0

Hi - I have created the AWS EKS-Cluster with 2 worker nodes. I have another EC2 instance acting as a client VM to access the above cluster. I assigned all the roles correct.

I'm getting the below error when I tried to access the EKS-cluster using kubectl command kubectl get nodes **couldn't get current server API group list: Get **"https://20C65533F05DF3F9E67678DDF25B032.gr7.us-east-1.eks.amazonaws.com/api?timeout=32s

Please suggest.

Siv
asked 4 months ago469 views
1 Answer
0

I was able to resolve the issue after allowing the inbound traffic on the SecurityGroup which was attached to that EKS-cluster.

Thank you.

Siv
answered 4 months ago
profile picture
EXPERT
reviewed 4 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions