Cleaning up of a Hosted Control Plane cluster

If you no longer need a hosted cluster, use this procedure to remove it.

Before you begin

  • Get the cluster ID:
    1. Go to the Red Hat® OpenShift® console of the hosted cluster.
    2. Go to Home > Overview and copy the Cluster ID from the Details section.
  • Take a backup of the applications that you want to protect.
  • Before you remove the Fusion Data Foundation service, ensure all workloads are stopped: delete the associated PVCs and clean up the storage namespace linked to it.

About this task

If the hosted cluster does not clean up after you remove the base or services label, then give it some time for the changes to take effect. If it still does not clean up, then see Troubleshooting issues and known limitations in Hosted Control Plane cluster.

Procedure

  1. On the hub cluster, go back to the hosted cluster details > Overview tab page and edit the Labels to remove isf.ibm.com/fusion-backup, and click Save.
  2. Remove all the workloads that use Fusion Data Foundation storage classes.

    Fusion Data Foundation does not get uninstalled when there are PVCs Or VolumeSnapshots on the hosted cluster.

  3. Edit the Labels again to remove isf.ibm.com/fusion-fdf, and click Save.
    Remember: Removing the isf.ibm.com/fusion-fdf label also removes the isf.ibm.com/fusion-fdf-quota=<value> label, if available.
  4. Do the following steps to verify the removal of the Data Foundation storage:
    1. Go to the user interface of the IBM Fusion hosted cluster.
    2. Confirm that the Data Foundation menu option is no longer available.
    3. Go to the Services tab and check whether the Data Foundation service tile is available in the Get started section.
    4. Go to the Red Hat OpenShift console of the hosted cluster and go to Storage > StorageClasses and verify whether all Data Foundation storage classes are removed.
    5. Go to the Storage Clients tab and verify whether the storage client is removed.
      Note: Removing the storage client may take up to 5 minutes.
  5. To clean up the Global Data Platform remote mount, remove the isf.ibm.com/fusion-gdp-rm label from the Hosted Control Plane cluster that you wish delete.
  6. Delete the hosted cluster.
    1. Log in to the OpenShift Container Platform web console of the IBM Fusion HCI hub, and select All clusters.
    2. Go to Infrastructure > Clusters.
      The Clusters page is displayed and the Cluster list tab is open by default.
    3. Click the name value link of the cluster to view more information.
      In the cluster details page, the Overview tab is open by default.

      Alternatively, you can also select the Destroy clusters from the ellipses overflow menu of the cluster.

    4. In the Actions menu, select Destroy clusters to remove the cluster.
    5. In the Permanently destroy clusters window, go through details.
    6. Enter the name of the cluster in the Confirm by typing "<cluster name>" below.
    7. Click Destroy.
      The cluster is removed and its components are deleted. The related namespace is also automatically deleted.
  7. To verify the deletion of the hosted cluster, do the following steps:
    1. Log in to the OpenShift Container Platform web console of the IBM Fusion HCI hub, and select All clusters.
    2. Go to Infrastructure > Clusters.
      The Clusters page is displayed and the Cluster list tab is open by default.
    3. Go through the list of the associated clusters and confirm that the Cluster ID of the deleted hosted cluster does not exist.
  8. Remove the Backup & Restore connection.
    For the procedure to remove connections, see Disabling the connection.