First I start Kubernetes using Flannel with 10.244.0.0
.
Then I reset all and restart with 10.84.0.0
.
However, the interface flannel.1
still is 10.244.1.0
That's how I clean up:
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
Am I missing something in the reset?