Forum Navigation
You need to log in to create posts and topics.

Uninstall Kubernetes from Ubuntu


User wants to completely remove kubernetes and docker from CentOS 7


run the following commands on the Master node

Remove All data and Nodes from the Cluster

kubectl drain <node name> –delete-local-data –force –ignore-daemonsets
kubectl delete node <node name>

Reset and Delete

sudo kubeadm reset
sudo apt-get purge kubeadm kubectl kubelet kubernetes-cni kube*
sudo apt-get autoremove sudo rm -rf ~/.kube



All content available through this Web Site is provided on an “AS IS” and “AS AVAILABLE” basis, with all faults. Tracston LTD makes no warranty or representation with respect to the quality, accuracy, or availability of the Web Site or any of its content.