<p>First I start Kubernetes using Flannel with <code>10.244.0.0</code>.</p>

<p>Then I reset all and restart with <code>10.84.0.0</code>.</p>

<p>However, the interface <code>flannel.1</code> still is <code>10.244.1.0</code></p>

<p>That's how I clean up:</p>

<pre><code>kubeadm reset
systemctl stop kubelet
systemctl stop docker
rm -rf /var/lib/cni/
rm -rf /var/lib/kubelet/*
rm -rf /run/flannel
rm -rf /etc/cni/
ifconfig cni0 down
brctl delbr cni0
ifconfig flannel.1 down
systemctl start docker
</code></pre>

<p>Am I missing something in the reset? </p>

xren
<p>Because your ip link have the old record</p>

<p>look by </p>

<p><code>ip link
</code>
you can see the record, and if you want to clean the record of old flannel and cni</p>

<p>please try</p>

<p><code>ip link delete cni0
ip link delete flannel.1
</code></p>
