Durch die Nutzung von AWS re:Post stimmt du den AWS re:Post Nutzungsbedingungen

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

gefragt vor 2 Jahren1245 Aufrufe
1 Antwort
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
beantwortet vor 2 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen