Completely removing Kubernetes from Ubuntu

Mohit Kumar
Apr 30, 2022

--

If you want to remove Kubernetes from your Ubuntu node, you can use the following commands.
The step needs to be followed on all the nodes in the cluster, where you want to remove the configuration

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

Here are the logs for reference.

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Written by Mohit Kumar

Making people communicate since 2010. Wireless Networking Professional based in Melbourne. https://mohitkr.com

No responses yet

Write a response