Uninstall k3s

In this article we are going to show how easy is to uninstall k3s. I recently installed k3s on a Raspberry PI model 3 (I will write an article on that I wrote an article on that https://keepforyourself.com/kubernetes/install-k3s-on-a-raspberry-pi/) and now (because I wanted to write an article) I want to remove, so I thought would be beneficial to write a very small article on how to uninstall k3s from your machine. The steps are really easy because as part of the k3s installation there is (guess a bit) the uninstallation script that will entirely remove k3s from your device, and by entirely I mean all the clusters data and all the scripts. This means that if you install again k3s you will start from a fresh never used instance as explained here (https://docs.k3s.io/installation/uninstall)

To uninstall from a server node:

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

To uninstall from an agent node:

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

Job done!

Please share and help us grow!

d3

d3 is an experienced Software Engineer/Developer/Architect/Thinker with a demonstrated history of working in the information technology and services industry. Really passionate about technology, programming languages and problem solving. He doesn't like too much the self celebration and prefers to use that time doing something useful ...i.e. coding

You may also like...