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

posta un anno fa747 visualizzazioni
1 Risposta
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
con risposta un anno fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande