Last active
April 8, 2022 10:00
-
-
Save Keith-Hon/3e8bcf998d8aeae0f1f41f19a7d1f409 to your computer and use it in GitHub Desktop.
Reset k8s for master and work nodes if pod-network-cidr changed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kubeadm reset | |
## master only | |
etcdctl rm --recursive registry | |
rm -rf /var/lib/cni | |
rm -rf /run/flannel | |
rm -rf /etc/cni | |
ifconfig cni0 down | |
brctl delbr cni0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment