mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-07 00:48:01 +01:00
21 lines
576 B
Plaintext
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.
|