Skip to main content
Skip table of contents

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



JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.