<p>Based on this (<a href="https://kubernetes.io/docs/getting-started-guides/kubeadm/" rel="nofollow noreferrer">https://kubernetes.io/docs/getting-started-guides/kubeadm/</a>) step I have installed Kubernetes in Centos 7 box and ram the kubeadm init command.</p>
<p>But node is not in ready status. When I looked the /var/log/messages. getting below message.</p>
<pre><code>Apr 30 22:19:38 master kubelet: W0430 22:19:38.226441    2372 cni.go:157] Unable to update cni config: No networks found in /etc/cni/net.d
Apr 30 22:19:38 master kubelet: E0430 22:19:38.226587    2372 kubelet.go:2067] Container runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:docker: network plugin is not ready: cni config uninitialized
</code></pre>
<p>My kubelet running with these arguments.</p>
<pre><code> /usr/bin/kubelet --kubeconfig=/etc/kubernetes/kubelet.conf --require-kubeconfig=true --pod-manifest-path=/etc/kubernetes/manifests --allow-privileged=true --network-plugin=cni --cni-conf-dir=/etc/cni/net.d --cni-bin-dir=/opt/cni/bin --cluster-dns=10.96.0.10 --cluster-domain=cluster.local --authorization-mode=Webhook --client-ca-file=/etc/kubernetes/pki/ca.crt --cgroup-driver=systemd
</code></pre>
<p>in my server I didn't see /etc/cni/net.d directory. in /opt/cin/bin directory I see these files.</p>
<pre><code># ls  /opt/cni/bin
bridge  cnitool  dhcp  flannel  host-local  ipvlan  loopback  macvlan  noop  ptp  tuning
</code></pre>
<p>How can I clear this error message?</p>

<p>Looks like you've chosen flannel as CNI-networking.
Pls check if you've specified --pod-network-cidr 10.244.0.0/16 while kubeadm init.</p>

<p>Also check if you've ConfigMaps created for flannel as in here @ <a href="https://github.com/coreos/flannel/blob/master/Documentation/kube-flannel.yml" rel="noreferrer">https://github.com/coreos/flannel/blob/master/Documentation/kube-flannel.yml</a></p>
