NET
TOOLS
LIVE
NET
TOOLS
LIVE
Completely uninstall kubernetes
Without leaving any record.
Created by:
Evandro Moura
06.19.2021, 23:00 pm
A quick and convenient way to uninstall kubernetes.
Without leaving a trace.
sudo kubeadm reset sudo apt purge kubectl kubeadm kubelet kubernetes-cni -y sudo apt autoremove sudo rm -fr /etc/kubernetes/; sudo rm -fr ~/.kube/; sudo rm -fr /var/lib/etcd; sudo rm -rf /var/lib/cni/ rm -rf /etc/cni /etc/kubernetes /var/lib/dockershim /var/lib/etcd /var/lib/kubelet /var/run/kubernetes ~/.kube/* sudo systemctl daemon-reload sudo iptables -F && sudo iptables -t nat -F && sudo iptables -t mangle -F && sudo iptables -X sudo iptables --flush shutdown -r now