<p>Upgraded to PC to ubuntu 20.04 and having problems re-installing microk8s (1.19 and 1.20 have the same issue on my PC).</p>
<p>starting fresh to demo problem</p>
<pre><code>snap remove microk8s
</code></pre>
<p>Following instructions on <a href="https://microk8s.io/docs" rel="nofollow noreferrer">Install MicroK8s</a></p>
<pre><code>sudo snap install microk8s --classic --channel=1.19
</code></pre>
<p>result:</p>
<pre><code>microk8s (1.19/stable) v1.19.5 from Canonical✓ installed
</code></pre>
<p>Step: Join the group</p>
<pre><code>sudo usermod -a -G microk8s $USER
sudo chown -f -R $USER ~/.kube
su - $USER
</code></pre>
<p>Step: Check the status</p>
<pre><code>microk8s status --wait-ready
</code></pre>
<p>Result: Hangs forever</p>
<p>Figure out what is going on:</p>
<pre><code>microk8s inspect
</code></pre>
<p>The tar files contain lots of</p>
<pre><code>Container runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:Network plugin returns error: cni plugin not initialized

dial tcp 127.0.0.1:16443: connect: connection refused
</code></pre>
<p>Any suggestions would be appreciated.</p>

<p>I had the same issue on a new Ubuntu 20.04.1 Server install and following the same instructions... e.g.</p>
<pre><code>sudo snap install microk8s --classic --channel=1.19
</code></pre>
<p>What worked for me was using the 1.18 channel</p>
<pre><code>sudo snap remove microk8s
sudo snap install microk8s --classic --channel=1.18/stable
</code></pre>
<p>And then refreshing to 1.19 once microk8s 1.18 became ready...</p>
<pre><code>sudo snap refresh microk8s --classic --channel=1.19/stable
</code></pre>
<p>Don't ask me why this worked but it did.</p>
