Archive an OpenShift Container Platform cluster from OpenShift Cluster Manager
In OpenShift Cluster Manager, you can archive an OpenShift Container Platform cluster to remove it from subscription management and from your cluster list.
Before you begin Copy linkLink copied!
- A Red Hat login
- An OpenShift Container Platform cluster
- The Cluster Owner or Cluster Editor role on the cluster, or Organization Administrator privileges in your Red Hat account
About this task Copy linkLink copied!
You can't delete an OpenShift Container Platform cluster from your infrastructure by using OpenShift Cluster Manager. You can only archive one.
To fully delete an OpenShift Container Platform cluster, follow the uninstall instructions for your platform, starting from Installation overview.
Procedure Copy linkLink copied!
Results Copy linkLink copied!
Your cluster no longer displays on the Cluster List tab. You can view it, along with all other archived clusters, on the Cluster Archives page.
To restore an archived cluster, click Unarchive next to it on the Cluster Archives page, then confirm. It displays on the Cluster List tab again.
Delete an OpenShift Dedicated cluster from OpenShift Cluster Manager Copy linkLink copied!
You can permanently delete OpenShift Dedicated clusters using OpenShift Cluster Manager. This action cannot be undone.
Before you begin Copy linkLink copied!
- You must have a Red Hat login.
- You must have an OpenShift Dedicated cluster.
- You must have the Cluster Owner or Cluster Editor role, or Organization Administrator privileges in your Red Hat account.
Procedure Copy linkLink copied!
Results Copy linkLink copied!
- Your cluster shows Uninstalling in the Status column on the Clusters page.
- While the cluster deletion is in progress, you can view Uninstallation logs by opening the cluster details Overview page.
When the deletion is complete, your cluster no longer displays in the Clusters list in OpenShift Cluster Manager.
To view your deleted clusters, open the Options menu on the Clusters list, then click View cluster archives.
Delete a Red Hat OpenShift Service on AWS cluster from OpenShift Cluster Manager Copy linkLink copied!
In OpenShift Cluster Manager, you can permanently delete Red Hat OpenShift Service on AWS clusters.
Before you begin Copy linkLink copied!
- A Red Hat login
- A Red Hat OpenShift Service on AWS cluster
- The Cluster Owner or Cluster Editor role on the cluster, or Organization Administrator privileges in your Red Hat account
Procedure Copy linkLink copied!
Results Copy linkLink copied!
Your cluster's status changes to Uninstalling on the Cluster List tab. While deletion runs, the uninstallation log displays on the cluster's Overview tab. When deletion completes, the cluster no longer displays on the Cluster List tab.
To view your deleted clusters, click View cluster archives on the Clusters page.
View archived and deleted clusters Copy linkLink copied!
On the Cluster Archives page in OpenShift Cluster Manager, you can view all archived and deleted clusters in your organization.
Before you begin Copy linkLink copied!
- A Red Hat login
About this task Copy linkLink copied!
In OpenShift Cluster Manager, you can delete managed clusters, such as OpenShift Dedicated and Red Hat OpenShift Service on AWS clusters. You can only archive OpenShift Container Platform clusters, which removes them from your cluster list and from subscription management.
Procedure Copy linkLink copied!
To restore an archived OpenShift Container Platform cluster, click Unarchive next to it, and then confirm. It displays on the Cluster List tab again.
Delete a cluster by using the ocm-cli tool Copy linkLink copied!
You can delete managed clusters, such as OpenShift Dedicated clusters, by using the ocm-cli tool.
Before you begin Copy linkLink copied!
- A managed cluster, such as an OpenShift Dedicated cluster
- The
ocm-clitool, installed by following the ocm-cli installation instructions - Your OpenShift Cluster Manager offline access token
Procedure Copy linkLink copied!
Results Copy linkLink copied!
Cluster deletion runs asynchronously and takes some time to complete. To check the cluster status, run the following command:
$ ocm list cluster <cluster_id>
When deletion completes, the command no longer returns any information about the cluster.