# kubeadm reset

# sudo apt-get purge kubeadm kubectl kubelet kubernetes-cni kube*

# sudo apt-get autoremove

# sudo rm -rf ~/.kube

 

References

https://stackoverflow.com/questions/44698283/how-to-completely-uninstall-kubernetes

# To uninstall K3s from a server node, run:

$ /usr/local/bin/k3s-uninstall.sh

 

# To uninstall K3s from an agent node, run:

$ /usr/local/bin/k3s-agent-uninstall.sh

 

References

https://rancher.com/docs/k3s/latest/en/installation/uninstall/

sudo apt-get purge -y docker-engine docker docker.io docker-ce docker-ce-cli

sudo apt-get autoremove -y --purge docker-engine docker docker.io docker-ce

 

sudo rm -rf /var/lib/docker /etc/docker

sudo rm /etc/apparmor.d/docker

sudo groupdel docker

sudo rm -rf /var/run/docker.sock

 

 

References

https://askubuntu.com/questions/935569/how-to-completely-uninstall-docker

+ Recent posts