<p>I have just installed a basic kubernetes cluster the manual way, to better understand the components, and to later automate this installation. I followed this guide: <a href="https://kubernetes.io/docs/getting-started-guides/centos/centos_manual_config/" rel="noreferrer">https://kubernetes.io/docs/getting-started-guides/centos/centos_manual_config/</a></p>

<p>The cluster is completely empty without addons after this. I've already deployed kubernetes-dashboard succesfully, however, when trying to deploy kube-dns, it fails with the log:</p>

<pre><code>2017-01-11T15:09:35.982973000Z F0111 15:09:35.978104       1 server.go:55]
Failed to create a kubernetes client: 
invalid configuration: no configuration has been provided
</code></pre>

<p>I used the following yaml template for kube-dns without modification, only filling in the cluster IP:
<a href="https://coreos.com/kubernetes/docs/latest/deploy-addons.html" rel="noreferrer">https://coreos.com/kubernetes/docs/latest/deploy-addons.html</a></p>

<p>What did I do wrong?</p>

<p>Experimenting with kubedns arguments, I added <code>--kube-master-url=http://mykubemaster.mydomain:8080</code> to the yaml file, and suddenly it reported in green. </p>

<p>How did this solve it? Was the container not aware of the master for some reason?</p>
