Uninstalling Workbench and K3s
This page provides step-by-step instructions for removing Workbench along with K3s from your cluster cleanly and safely.
Cleaning up after pre-installation
If Workbench is not installed, but you have run ./k3s_preinstall.sh
, the only changes that have been made to your system are the staging of installation asset files, which consume a small amount of space. If you want to remove those files, run the following commands:
Uninstalling
To uninstall Workbench and K3s from your cluster:
-
If Workbench is running, you’ll need to perform a backup before proceeding. This ensures that no data corruption occurs during the K3s shutdown process. Perform a backup by running the following command:
-
Pause the application by running the following command:
-
If your cluster has worker nodes, uninstall them by running the following command on each node:
-
Uninstall K3s by running the following commands on the server:
This does not remove existing Workbench data (data stored in
/opt/anaconda/storage
). If you would like to remove this data, perform the pre-installation cleanup commands.
Was this page helpful?