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,290 points
81 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
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
• 35,800 points
30 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
• 35,800 points
33 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.