<p>I'm installing kubernetes(kubeadm) on centos VM running inside <code>Virtualbox</code>, so with yum I installed <code>kubeadm, kubelet</code> and <code>docker</code>. </p>

<p>Now while trying to setup cluster with <code>kubeadm init --pod-network-cidr=192.168.56.0/24 --apiserver-advertise-address=192.168.56.33/32</code> i run into the following error : </p>

<pre><code>Unable to update cni config: No networks found in /etc/cni/net.d

Container runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:docker: network plugin is not ready: cni config uninitialized
</code></pre>

<p>So I checked, no <code>cni</code> folder in <code>/etc</code> even that <code>kubernetes-cni-0.6.0-0.x86_64</code> is installed. I Tried commenting <code>KUBELET_NETWORK_ARGS</code> in <code>/etc/systemd/system/kubelet.service.d/10-kubeadm.conf</code> but it didn't work.</p>

<p>PS:  </p>

<ul>
<li><p>I'm installing behind proxy.</p></li>
<li><p>I have multiple network adapters: </p>

<ul>
<li><p>NAT : 10.0.2.15/24 for Internet </p></li>
<li><p>Host Only : 192.168.56.33/32</p></li>
<li><p>And docker interface : 172.17.0.1/16</p></li>
</ul></li>
</ul>

<blockquote>
  <p>Docker version:  17.12.1-ce<br>
  kubectl version : Major:"1",
  Minor:"9", GitVersion:"v1.9.3"<br>
  Centos 7</p>
</blockquote>

BOUKANDOURA Mhamed
<p>Add pod network add-on - Weave Net</p>
<pre><code>kubectl apply -f https://github.com/weaveworks/weave/releases/download/v2.8.1/weave-daemonset-k8s.yaml
</code></pre>
