1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-07 09:46:53 +01:00
Files
openshift-docs/modules/destroy-hc-bm-cli.adoc
2024-09-17 12:14:10 +00:00

21 lines
576 B
Plaintext

// Module included in the following assemblies:
//
// * hosted_control_planes/hcp-destroy/hcp-destroy-bm.adoc
:_mod-docs-content-type: PROCEDURE
[id="destroy-hc-bm-cli_{context}"]
= Destroying a hosted cluster on bare metal by using the CLI
You can use the `hcp` command-line interface (CLI) to destroy a hosted cluster on bare metal.
.Procedure
* Delete the hosted cluster and its backend resources by running the following command:
+
[source,terminal]
----
$ hcp destroy cluster agent --name <hosted_cluster_name> <1>
----
+
<1> Specify the name of your hosted cluster.