使用AWS re:Post即您表示您同意 AWS re:Post 使用条款

EKS Cluster access error on kubectl get nodes from admin ec2 instance

0

I am facing an error while accessing the EKS cluster So, there is an EC2 admin node from where to access two EKS clusters in two regions where I can access one cluster kubectl get nodes or kubectl get pods works but on another cluster, while I face error "Unable to connect to the server: dial tcp 179.21.16.255:443: i/o timeout" Please guide and let me know which steps where to resolve this error. I didn't find anything on the console different in any cluster found the same only, I did this command also aws eks --region us-east-2 update-kubeconfig --name my-cluster, but same issue. How to resolve to get kubectl get pods or kubectl get nodes to work like another cluster from the ec2 admin node

已提问 2 年前1249 查看次数
1 回答
0

Considering this is a timeout, that usually points to there being a security group or NACL problem. Try checking the network related resources on the cluster and ensure it has the correct settings. You can also find the official docs around network setup here: https://docs.aws.amazon.com/eks/latest/userguide/eks-networking.html.

profile pictureAWS
已回答 2 年前

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

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

回答问题的准则