"No such host" error when executing kops validate cluster command

0 votes

I have created a cluster on AWS using kops, i tried checking the cluster status using the following command

kops validate cluster

I got the following error:

Using cluster from kubectl context: useast1.edureka.co
Validating cluster useast1.edureka.co
unexpected error during validation: unable to resolve Kubernetes cluster API URL dns: lookup api.useast1.edureka.co on 127.0.0.53:53: no such host
Oct 17, 2018 in Kubernetes by Nilesh
• 6,900 points
361 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
You get this error when the cluster hasn't been created, give some time, let the cluster be created and then check again.

If it still doesnt work, the easiest but not recommended solution is to delete or reset the cluster and make it again.
answered Oct 17, 2018 by Kalgi
• 36,420 points
wow! great answer!! if you don't know the actual reason drop off.

Well I faced the same error and solved it by this. I got this hack from stackoverflow. Also, I personally think it's not the best workaround(mentioned in the answer). If you have a better solution please do share. 

Related Questions In Kubernetes

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
• 36,420 points
37 views
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
• 36,420 points
37 views
0 votes
1 answer
0 votes
1 answer

© 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.