Kops validate cluster giving an error saying no such host

0 votes
I've created a kubernetes cluster using kops on AWS. I see my master and worker nodes have been created but when I execute the kops validate cluster, I get an error saying no such host.

What is the issue here?
Jan 7 in Kubernetes by Ali
• 10,430 points
238 views

1 answer to this question.

0 votes

One of the possible reasons could be using a Private DNS zone. If you've created a private DNS zone in route 53, you will not be able to access your API from your computer as that would be outside the private VPC. 

You can SSH into the master and try executing the following command:

ssh  -i .ssh/id_rsa admin@ipv4-public-ip-of-master
kubectl get nodes
answered Jan 7 by Manali

Related Questions In Kubernetes

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

permissions related to AWS ECR

if you add allowContainerRegistry: true, kops will add those permissions ...READ MORE

answered Oct 9, 2018 in Kubernetes by Kalgi
• 42,280 points
73 views
0 votes
1 answer
0 votes
1 answer

Create LoadBalancer for kubernetes cluster in aws

Hello @Lina, If you're running your cluster on ...READ MORE

answered Oct 8, 2018 in Kubernetes by Kalgi
• 42,280 points
60 views