<p>I uninstalled calico using:
'kubectl delete -f calico.yaml'</p>

<p>and installed weave using:
'export kubever=$(kubectl version | base64 | tr -d '\n')'
'kubectl apply -f "<a href="https://cloud.weave.works/k8s/net?k8s-version=" rel="nofollow noreferrer">https://cloud.weave.works/k8s/net?k8s-version=</a>$kubever"'</p>

<p>When i deploy my pods they remain at "ContainerCreating" status.
When i check pod logs i see error below:</p>

<p>'networkPlugin cni failed to set up pod "saccofrontend-d7444fd6d-998gf_default" network: stat /var/lib/calico/nodename: no such file or directory: check that the calico/node container is running and has mounted /var/lib/calico/'</p>

<p>I manually deleted this file.
A reinstall of docker and kubeadm did not help either.Still getting the same error.</p>

<p>Please advise what could be promting kubelet to still use calico as the cni even though i unstialled it.</p>

Tariq Kipkemei
<p>My issue was that I was using the command below to setup the Calico CNI:</p>
<pre><code>kubectl apply -f https://docs.projectcalico.org/v3.9/manifests/calico.yaml
</code></pre>
<p>Using the link below instead worked. It's the same without the version I guess.</p>
<pre><code>kubectl apply -f https://docs.projectcalico.org/manifests/calico.yaml
</code></pre>
