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
已提问 5 个月前537 查看次数
1 回答
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
已回答 5 个月前
profile picture
专家
已审核 5 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则