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달 전539회 조회
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달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인