#停止docker kubelet kube-proxy服务
systemctl stop docker
systemctl stop kubelet
systemctl stop kube-proxy

删除残留路径

rm -rf /etc/cni
rm -rf /opt/cni
rm -rf /run/calico
rm -rf /var/lib/calico
rm -rf /var/lib/cni
rm -rf /var/run/calico

清理网络接口

ip link delete vxlan.calico
ip link delete calia09f92a66fa@if3

iptables -F && iptables -t nat -F

systemctl start docker
systemctl start kubelet
systemctl start kube-proxy

systemctl status docker
systemctl status kubelet
systemctl status kube-proxy