Skip to content

Latest commit

 

History

History
49 lines (28 loc) · 2.55 KB

File metadata and controls

49 lines (28 loc) · 2.55 KB

Uninstalling

When you uninstall Red Hat Advanced Cluster Management for Kubernetes, there are two different levels of the process.

The first level is a custom resource removal. It is the most basic type of unistallation that removes the custom resource of the MultiClusterHub instance, but leaves other required components. This level of uninstallation is helpful if you plan another installation that uses the same settings and components of the one that you are removing. Your time to install the next version is reduced when you have all of the other components already installed.

The second level is a more complete uninstallation, except for a few items, like custom resource definitions. This adds the removal of other required components and settings to the items that are removed. When you continue with this step, it removes all of the components and subscriptions that were not removed with the custom resource removal. If you complete this level of unistallation, you must reinstall the operator before reinstalling the custom resource.

Removing a MultiClusterHub instance by using commands

  1. Change to your project namespace by entering the following command:

    oc project <namespace>
    

    Replace namespace with the name of your project namespace.

  2. Enter the following command to remove the MultiClusterHub custom resource:

    oc delete multiclusterhub --all
    

    Tip: If you plan to reinstall a new version and want to keep your other information, you can skip the rest of the steps in this procedure and reinstall.

  3. Enter the following command to remove all of the related components and subscriptions:

    oc delete subs --all
    

Deleting both components by using the console

When you use the Red Hat OpenShift Container Platform console to uninstall, you remove the operator. Complete the following steps to unistall by using the console:

  1. In the Red Hat OpenShift Container Platform console navigation, select Operators > Installed Operators > Advanced Cluster Manager for Kubernetes.

  2. Select the tab for Multiclusterhub operator.

  3. Select the Options menu for the MultiClusterHub operator.

  4. Select Delete MultiClusterHub.

    Tip: If you plan to reinstall a new version and want to keep your other information, you can skip the rest of the steps in this procedure and reinstall.

  5. Navigate to Installed Operators.

  6. Remove the Red Hat Advanced Cluster Management and etcd operators by selecting the Options menu and selecting Uninstall operator for each one.