Chapter 4. Uninstalling MicroShift
Before you uninstall MicroShift, clean up all the MicroShift data and configuration by running the microshift-cleanup-data
script.
4.1. Uninstalling MicroShift from an RPM package Copy linkLink copied to clipboard!
Copy linkLink copied to clipboard!
Prerequisites
- You are logged into MicroShift as an administrator with root-user access.
- You have filed a support case.
- You have root access to the MicroShift node.
Procedure
Clean all your data by running the following command:
sudo microshift-cleanup-data --all
$ sudo microshift-cleanup-data --all
1 Copy to Clipboard Copied! Toggle word wrap Toggle overflow - 1
- When you run the script with the
--all
argument, you perform the following clean up actions:- Stop and disable all MicroShift services
- Delete all MicroShift pods
- Delete all container image storage
- Reset network configuration
-
Delete the
/var/lib/microshift
data directory - Delete OVN-K networking configuration
Run the following command:
sudo dnf remove -y microshift*
$ sudo dnf remove -y microshift*
Copy to Clipboard Copied! Toggle word wrap Toggle overflow