1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 21:46:22 +01:00
Files
openshift-docs/modules/hosted-clusters-openstack-destroy.adoc
2025-06-13 14:17:09 +00:00

28 lines
776 B
Plaintext

// Module included in the following assemblies:
//
// * hosted_control_planes/hypershift-openstack.adoc
:_mod-docs-content-type: PROCEDURE
[id="hosted-clusters-openstack-destroy_{context}"]
= Destroying a hosted cluster by using the CLI
You can destroy a hosted cluster and its associated resources on {rh-openstack-first} 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:
+
[source,terminal]
----
$ 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.