<p dir="auto"><strong>Is this a request for help?</strong> (If yes, you should use our troubleshooting guide and community support channels, see <a href="http://kubernetes.io/docs/troubleshooting/" rel="nofollow">http://kubernetes.io/docs/troubleshooting/</a>.):</p>
<p dir="auto"><strong>What keywords did you search in Kubernetes issues before filing this one?</strong> (If you have found any duplicates, you should instead reply there.): kubeadm init hang</p>
<hr>
<p dir="auto"><strong>Is this a BUG REPORT or FEATURE REQUEST?</strong> (choose one): BUG REPORT</p>

<p dir="auto"><strong>Kubernetes version</strong> (use <code class="notranslate">kubectl version</code>): 1.4.4</p>
<p dir="auto"><strong>Environment</strong>:</p>
<ul dir="auto">
<li><strong>Cloud provider or hardware configuration</strong>:  x86_64</li>
<li><strong>OS</strong> (e.g. from /etc/os-release): Ubuntu 16.04.1 LTS</li>
<li><strong>Kernel</strong> (e.g. <code class="notranslate">uname -a</code>): 4.4.0-21-generic</li>
<li><strong>Install tools</strong>: Installing Kubernetes on Linux with kubeadm</li>
<li><strong>Others</strong>:</li>
</ul>
<p dir="auto"><strong>What happened</strong>:<br>
We installed k8s by using kubeadm a week ago without problem.<br>
Here is output form kubectl version:<br>
Client Version: version.Info{Major:"1", Minor:"4", GitVersion:"v1.4.3", GitCommit:"4957b090e9a4f6a68b4a40375408fdc74a212260", GitTreeState:"clean", BuildDate:"2016-10-16T06:36:33Z", GoVersion:"go1.6.3", Compiler:"gc", Platform:"linux/amd64"}<br>
Server Version: version.Info{Major:"1", Minor:"4", GitVersion:"v1.4.0", GitCommit:"a16c0a7f71a6f93c7e0f222d961f4675cd97a46b", GitTreeState:"clean", BuildDate:"2016-09-26T18:10:32Z", GoVersion:"go1.6.3", Compiler:"gc", Platform:"linux/amd64"}</p>
<p dir="auto">Yesterday kicked off another installation and "kubeadm init" hang when"waiting for the control plane to become ready".<br>
Here is the output from kubectl version:<br>
Client Version: version.Info{Major:"1", Minor:"4", GitVersion:"v1.4.4", GitCommit:"3b417cc4ccd1b8f38ff9ec96bb50a81ca0ea9d56", GitTreeState:"clean", BuildDate:"2016-10-21T02:48:38Z", GoVersion:"go1.6.3", Compiler:"gc", Platform:"linux/amd64"}<br>
Server Version: version.Info{Major:"1", Minor:"4", GitVersion:"v1.4.4", GitCommit:"3b417cc4ccd1b8f38ff9ec96bb50a81ca0ea9d56", GitTreeState:"clean", BuildDate:"2016-10-21T02:42:39Z", GoVersion:"go1.6.3", Compiler:"gc", Platform:"linux/amd64"}</p>
<p dir="auto">It seemed only difference is to have a higher version 1.4.4 now.</p>
<p dir="auto"><strong>What you expected to happen</strong>:<br>
kubeadm init waiting less than 1 minute to resume the setup.</p>
<p dir="auto"><strong>How to reproduce it</strong> (as minimally and precisely as possible):<br>
following the step described on "Installing Kubernetes on Linux with kubeadm"<br>
<a href="http://kubernetes.io/docs/getting-started-guides/kubeadm/" rel="nofollow">http://kubernetes.io/docs/getting-started-guides/kubeadm/</a></p>
<p dir="auto"><strong>Anything else do we need to know</strong>:<br>
Do you have another way to describe how to install/setup kubenetes other than kubeadm?</p>
<p dir="auto">Thanks</p>
<p dir="auto">WY</p>
<p dir="auto">In <code class="notranslate">pkg/kubelet/kubelet,go</code> in <code class="notranslate">getClusterDNS(...)</code>, it appends cluster DNS nameserver and search paths to the ones in the host resolv.conf.</p>
<p dir="auto">A user reported trying to add skydns nameserver address and kubernetes search paths to the host resolv.conf.  Not what the instructions say to do, but a reasonable thing to do.  Very reasonable if you want to be able to resolve service names while debugging from the root UTS namespace.</p>
<p dir="auto">This wasn't working for the user.  One thing I think would go wrong here is that if the node has 1 or 2 search paths, and then the user added the 3 for kubernetes, that is 5.  Then when kubelet adds 3 more (duplicate) entries, you get 8, which exceeds the limit of 6.</p>
<p dir="auto">Would it be better if the code filtered duplicate search entries?</p>