Skip to content

Commit

Permalink
docs(install_faq): document dnsmasq fix for kubeadm
Browse files Browse the repository at this point in the history
The solution to #1455 is to configure dnsmasq on each of your nodes.
This adds brief documentation on how to do so.

Closes #1455
  • Loading branch information
technosophos committed Nov 1, 2016
1 parent 6b31664 commit 1498461
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions docs/install_faq.md
Expand Up @@ -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
```

A: We have seen this issue with Ubuntu and Kubeadm. See this issue for more
information: https://github.com/kubernetes/helm/issues/1455
A: We have seen this issue with Ubuntu and Kubeadm in multi-node clusters. The
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

Expand Down

0 comments on commit 1498461

Please sign in to comment.