5.12.0 5.11.0 5.10.0 5.9.0 5.8.0 5.7.0 5.6.0 5.5.0 5.4.0 5.3.0 5.2.0 5.1.0 5.0 4.10 4.9 4.8 4.7 4.6 4.5.3 4.5.2 4.5.1 4.5 4.4 4.3
5.12.0 5.11.0 5.10.0 5.9.0 5.8.0 5.7.0 5.6.0 5.5.0 5.4.0 5.3.0 5.2.0 5.1.0 5.0 4.10 4.9 4.8 4.7 4.6 4.5.3 4.5.2 4.5.1 4.5 4.4 4.3

RKE2 uninstallation

Purpose

The purpose of this document is to uninstall the Kubernetes distribution RKE.

 

Step 1: uninstall the RKE2 and  clean up files used by RKE2

you can run following command on control plane and worker node.

Bash
cd /usr/bin/

Run the following command:

Bash
rke2-uninstall.sh

Step 2: Generic step for both Control-Plane and Worker Nodes.

Clean up the existing installation + volume data ( DATA deletion warning ).

Bash
rm -rf /var/lib/rancher  /etc/rancher /var/lib/longhorn/ /etc/cni /opt/cni  /var/openebs/;


Step 3: Reboot the system

Bash
reboot