The purpose of this document is to uninstall the K3s Kubernetes Distribution.
All these commands are destructive and will result in irrecoverable data .
Steps
To uninstall K3s from a Control Plane Node, run the following command:
/usr/local/bin/k3s-uninstall.sh
To uninstall K3s from a worker node, run the following command:
/usr/local/bin/k3s-agent-uninstall.sh
Generic Steps for Any Nodes
1. Clean up the existing installation as well as the volume data (Data deletion warning) by running the following command:
rm -rf /var/lib/rancher /etc/rancher/ /var/lib/longhorn/;
and then reboot the system:
reboot
Quick Links
Please note, these errors can depend on your browser setup.
If this problem persists, please contact our support.