$ hcp destroy cluster agent --name <hosted_cluster_name> (1)
You can destroy hosted clusters on bare metal by using the command-line interface (cli) or the multicluster engine Operator web console.
You can use the hcp
command-line interface (cli) to destroy a hosted cluster on bare metal.
Delete the hosted cluster and its backend resources by running the following command:
$ hcp destroy cluster agent --name <hosted_cluster_name> (1)
1 | Specify the name of your hosted cluster. |
You can use the multicluster engine Operator web console to destroy a hosted cluster on bare metal.
In the console, click Infrastructure → Clusters.
On the Clusters page, select the cluster that you want to destroy.
In the Actions menu, select Destroy clusters to remove the cluster.