Chapter 4. Uninstalling MicroShift
When you want to uninstall MicroShift RPMs, you must take specific steps to remove the data from your host.
4.1. Uninstall MicroShift from an RPM package Copy linkLink copied to clipboard!
When you want to uninstall MicroShift, you must first clean up all data, pods, and configurations before removing the RPM packages.
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 --allWhen you run the script with the
--allargument, 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/microshiftdata directory - Delete OVN-K networking configuration
Run the following command:
$ sudo dnf remove -y microshift*