Uninstalling Adeptia Rancher
Here are the steps to uninstall all the components.
| Before you follow the uninstallation steps, ensure that you have the same namespace (set in the general-config.yaml file) to which you want to perform the uninstall operation. |
|---|
-
Connect to the Primary Linux VM or Jump Box using PuTTY on you local Windows system.
- On the CLI, run the following command to execute the shell file, adeptia-rancher.sh, available in the Rancher package:
Code
sudo ./adeptia-rancher.sh --tag=uninstall-all
If you are using an encrypted vault-config.yaml file, you need to pass the argument --ask-vault-pass while executing the shell file as shown in the example below:sudo ./adeptia-rancher.sh --ask-vault-pass |
|---|
This uninstalls all the components. If you want to install different components based on your requirement, you can use the tag argument while executing the shell file. For example, if you want to uninstall RKE2 only, run the following command:
Code
sudo ./adeptia-rancher.sh --tag=uninstall-platform
| This command also uninstalls a few other components, including Envoy Gaterway, Rancher UI, and Storage Provisioner apart from the RKE2. |
|---|