If you no longer need a hosted cluster, use this procedure to remove it.
Before you begin
- Download common.sh, delete-odf.sh, and
odf-cleanup-main.sh from the odf-cleanup directory of the
Fusion Git
repository.
- Note down the following details:
- Go to the Red Hat®
OpenShift® console of the hosted
cluster.
- Go to and
copy the Cluster ID from the Details section.
- Take a backup of the applications that you want to protect.
Procedure
- 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.
- Use the script mentioned in the Fusion Git repository to clean the Backup &
Restore Agent from the Hosted Control Plane.
- Remove all the workloads that use Fusion Data Foundation storage classes.
- Edit the Labels again to remove
isf.ibm.com/fusion-fdf, and click Save.
- Remove the Data Foundation agent with all the
PVCs that use the Data Foundation storage.
- Log in to the Hosted Control Plane cluster on
the terminal through CLI.
- Run odf-cleanup-entrypoint.sh.
- After the script completes successfully, do the following steps to verify the removal of
the Data Foundation storage:
- Go to the user interface of the IBM Storage Fusion hosted cluster.
- Confirm that the Data Foundation menu option is no longer
available.
- Go to the Services page and check whether the Data
Foundation service tile is available in the Get started section.
- Go to the Red Hat
OpenShift console of the hosted cluster and
go to
and verify whether all Data Foundation storage classes
are removed.
- Delete the hosted cluster.
- Log in to the OpenShift Container Platform web console
of the IBM Storage Fusion HCI System hub, and select All
clusters.
- Go to Infrastructure >
Clusters.
The Clusters page is
displayed and the Cluster list tab is open by default.
- Click the name value link of the cluster to view more information.
In the cluster details page, the Overview tab is open by
default.
- In the Actions menu, select Destroy
clusters to remove the cluster.
- To verify the deletion of the hosted cluster, do the following steps:
- Log in to the OpenShift Container Platform web console
of the IBM Storage Fusion HCI System hub, and select All
clusters.
- Go to Infrastructure >
Clusters.
The Clusters page is
displayed and the Cluster list tab is open by default.
- Go through the list of the associated clusters and confirm that the Cluster ID of the
deleted hosted cluster does not exist.
- Remove the Backup & Restore connection.