Skip to content

Instantly share code, notes, and snippets.

@agileguy
Created November 16, 2019 22:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save agileguy/fa44ea4767e20aac41dd35f5c1cd6acc to your computer and use it in GitHub Desktop.
Save agileguy/fa44ea4767e20aac41dd35f5c1cd6acc to your computer and use it in GitHub Desktop.
Proper kubeadm reset - to be run under su
kubeadm reset
systemctl stop kubelet
systemctl stop docker
rm -rf /var/lib/cni/
rm -rf /var/lib/kubelet/*
rm -rf /etc/cni/
ifconfig cni0 down
ifconfig flannel.1 down
ifconfig docker0 down
ip link delete cni0
ip link delete flannel.1
@agileguy
Copy link
Author

kubernetes/kubernetes#39557

Failed to setup network for pod using network plugins "cni0": no IP addresses available in network: podnet; Skipping pod"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment