Ao usar o AWS re:Post, você concorda com os AWS re:Post Termos de uso

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

feita há 2 anos1,2 mil visualizações
1 Resposta
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
respondido há 2 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas