Unable to connect to the server: dial tcp: lookup api.k8s.example on 0.0.0.0:53: no such host
Guys - Unless we're missing something , instructions provided with DNS doesn't work. We're getting the above if we run kubectl get nodes after the cluster is up.
Can you help ?
api.k8s.example will only work if you own k8s.example domain. You need an actual domain to run kops.
Here is the documentation: http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/domain-register.html
Here is a tutorial: https://www.siteleaf.com/blog/using-aws-s3-and-route-53/
Don't like the tutorial much ... looking for a better on.
Might be worthwhile to indicate that the DNS zone needs to be a public zone and not a private zone. I just made this mistake figuring it wasn't important because it was going to be internal to the cluster.
+1 on @plombardi89's comment - can we get this in the documentation please? this has burned a few people :(
Also there is an example here on how to do it from the command line - we really need this in the docs though :)
Also more information here https://github.com/kubernetes/kops/issues/781
This is now document in aws.md. @fii can you review?
Closing as we have docs
Most helpful comment
Might be worthwhile to indicate that the DNS zone needs to be a public zone and not a private zone. I just made this mistake figuring it wasn't important because it was going to be internal to the cluster.