How to Properly Uninstall Rancher on Linux
Follow these steps in the specified order to uninstall Rancher.
1. Pull the Uninstall Script
Run the following command to download and execute the uninstall script:
2. Uninstall Rancher
Run the following command to uninstall Rancher:
3. Remove Files
Remove the specified directories and files with the following command:
Note that reciving the error :sudo: rke2-uninstall.sh: command not found is normal after running the command means your rancher is already uninstalled and you are free to rejoin the cluster.
This guide should help you properly uninstall Rancher from your Linux system.
Last updated