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 個月前檢視次數 541 次
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 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南