En utilisant AWS re:Post, vous acceptez les AWS re:Post Conditions d’utilisation

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

demandé il y a 2 ans1,2 k vues
1 réponse
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
répondu il y a 2 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions