docs(install_faq): document dnsmasq fix for kubeadm

The solution to #1455 is to configure dnsmasq on each of your nodes.
This adds brief documentation on how to do so.

Closes #1455
pull/1492/head
Matt Butcher 8 years ago
parent 6b31664cd2
commit 1498461146
No known key found for this signature in database
GPG Key ID: DCD5F5E5EF32C345

@ -89,8 +89,17 @@ help you get started:
Error: Error forwarding ports: error upgrading connection: dial tcp: lookup kube-4gb-lon1-02 on 8.8.8.8:53: no such host Error: Error forwarding ports: error upgrading connection: dial tcp: lookup kube-4gb-lon1-02 on 8.8.8.8:53: no such host
``` ```
A: We have seen this issue with Ubuntu and Kubeadm. See this issue for more A: We have seen this issue with Ubuntu and Kubeadm in multi-node clusters. The
information: https://github.com/kubernetes/helm/issues/1455 issue is that the nodes expect certain DNS records to be obtainable via global
DNS. Until this is resolved upstream, you can work around the issue as
follows:
1) Add entries to `/etc/hosts` on the master mapping your hostnames to their public IPs
2) Install `dnsmasq` on the master (e.g. `apt install -y dnsmasq`)
3) Kill the k8s api server container on master (kubelet will recreate it)
4) Then `systemctl restart docker` (or reboot the master) for it to pick up the /etc/resolv.conf changes
See this issue for more information: https://github.com/kubernetes/helm/issues/1455
## Upgrading ## Upgrading

Loading…
Cancel
Save