<p>I'm running <code>kubeadm init --pod-network-cidr=10.244.0.0/16</code> to deploy k8s. After it i'm running <code>kubectl apply -f https://raw.githubusercontent.com/coreos/flannel/2140ac876ef134e0ed5af15c65e414cf26827915/Documentation/kube-flannel.yml</code> to install Flannel pod network.
Right after it i have core dns pods up and runnig, but logs say:</p>

<pre><code>[INFO] plugin/reload: Running configuration MD5 = 4e235fcc3696966e76816bcd9034ebc7
CoreDNS-1.6.5
linux/amd64, go1.13.4, c2fd1b2
[ERROR] plugin/errors: 2 2304295940078007789.7023563928002468477. HINFO: read udp 10.244.1.3:60266-&gt;172.20.0.1:53: i/o timeout
[ERROR] plugin/errors: 2 2304295940078007789.7023563928002468477. HINFO: read udp 10.244.1.3:40761-&gt;172.20.0.1:53: i/o timeout
[ERROR] plugin/errors: 2 2304295940078007789.7023563928002468477. HINFO: read udp 10.244.1.3:50495-&gt;172.20.0.1:53: i/o timeout
[ERROR] plugin/errors: 2 2304295940078007789.7023563928002468477. HINFO: read udp 10.244.1.3:41244-&gt;172.20.0.1:53: i/o timeout
[ERROR] plugin/errors: 2 2304295940078007789.7023563928002468477. HINFO: read udp 10.244.1.3:37152-&gt;172.20.0.1:53: i/o timeout
[ERROR] plugin/errors: 2 2304295940078007789.7023563928002468477. HINFO: read udp 10.244.1.3:35273-&gt;172.20.0.1:53: i/o timeout
[ERROR] plugin/errors: 2 2304295940078007789.7023563928002468477. HINFO: read udp 10.244.1.3:36979-&gt;172.20.0.1:53: i/o timeout
[ERROR] plugin/errors: 2 2304295940078007789.7023563928002468477. HINFO: read udp 10.244.1.3:56856-&gt;172.20.0.1:53: i/o timeout
[ERROR] plugin/errors: 2 2304295940078007789.7023563928002468477. HINFO: read udp 10.244.1.3:59105-&gt;172.20.0.1:53: i/o timeout
[ERROR] plugin/errors: 2 2304295940078007789.7023563928002468477. HINFO: read udp 10.244.1.3:42423-&gt;172.20.0.1:53: i/o timeout
</code></pre>

<p>What am i doing wrong?
How can i correct it?</p>

semenchukou
<p>Core dns pods solely depends upon network plugins which is flannel in your case. If anything is wrong with flannel, dns pods won't start properly. Try installing latest version of flannel by executing below command as mentioned in flannel github <code>ReadMe.md</code>.</p>

<p><code>kubectl apply -f https://raw.githubusercontent.com/coreos/flannel/master/Documentation/kube-flannel.yml</code></p>
