This is a cache of https://docs.okd.io/latest/hosted_control_planes/hcp-destroy/hcp-destroy-openstack.html. It is a snapshot of the page at 2025-07-05T18:56:35.078+0000.
Destroying a hosted <strong>cluster</strong> on OpenStack - Destroying a hosted <strong>cluster</strong> | Hosted control planes | OKD 4
×

Destroying a hosted cluster by using the CLI

You can destroy a hosted cluster and its associated resources on OpenStack by using the hcp CLI tool.

Prerequisites
  • You installed the hosted control planes CLI, hcp.

Procedure
  • To destroy the cluster and its associated resources, run the following command:

    $ hcp destroy cluster openstack --name=<cluster_name>

    where:

    <cluster_name>

    is the name of the hosted cluster.

    After the process completes, all your cluster and all resources that are associated with it are destroyed.