This is a cache of https://docs.okd.io/4.17/hosted_control_planes/hcp-destroy/hcp-destroy-non-bm.html. It is a snapshot of the page at 2026-09-30T01:33:51.057+0000.
Destroying a hosted <strong>cluster</strong> on non-bare-metal agent machines - Destroying a hosted <strong>cluster</strong> | Hosted control planes | OKD 4.17
×

You can destroy hosted clusters on non-bare-metal agent machines by using the command-line interface (CLI) or the multicluster engine Operator web console.

Destroying a hosted cluster on non-bare-metal agent machines

You can use the hcp command-line interface (CLI) to destroy a hosted cluster on non-bare-metal agent machines.

Procedure
  • Delete the hosted cluster and its backend resources by running the following command:

    $ hcp destroy cluster agent --name <hosted_cluster_name> (1)
    1 Replace <hosted_cluster_name> with the name of your hosted cluster.

Destroying a hosted cluster on non-bare-metal agent machines by using the web console

You can use the multicluster engine Operator web console to destroy a hosted cluster on non-bare-metal agent machines.

Procedure
  1. In the console, click Infrastructure → clusters.

  2. On the clusters page, select the cluster that you want to destroy.

  3. In the Actions menu, select Destroy clusters to remove the cluster.