<p>I have created one ec2 instance and added that to loadbalancer
while I try to create master node with <code>kubeadm init --control-plane-endpoint "LOAD_BALANCER_DNS:LOAD_BALANCER_PORT" --upload-certs</code>
command I'm getting following logs <code>from kubelet status</code></p>

<blockquote>
  <p>kubelet[11586]: E0305 06:48:26.280438   11586 kubelet.go:2183] Container runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:docker: network plugin is not ready cni config uninitialized</p>
</blockquote>

<p>When I tried to install CNI plugin it shows </p>

<blockquote>
  <p>Are you using correct host or port?</p>
</blockquote>

<p>Can someone help me to resolve this</p>

<p><code>NetworkPluginNotReady message:docker: network plugin is not ready cni config uninitialized</code> means that your CNI is misconfigured or missing. </p>

<p>In order to make it work properly you need to specify <code>--pod-network-cidr</code> while executing the <code>kubeadm init</code> command.</p>

<p><a href="https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/create-cluster-kubeadm/#pod-network" rel="nofollow noreferrer">Here</a> you can find the official documentation with a list of most popular Pod network plugins to choose from like Calico or Flannel.</p>
