1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 12:46:18 +01:00
Files
openshift-docs/modules/destroy-hc-ibm-power-cli.adoc
2024-11-05 19:57:40 +00:00

25 lines
876 B
Plaintext

// Module included in the following assemblies:
//
// * hosted_control_planes/hcp-destroy/hcp-destroy-ibm-power.adoc
:_mod-docs-content-type: PROCEDURE
[id="destroy-hc-ibm-power-cli_{context}"]
= Destroying a hosted cluster on {ibm-power-title} by using the CLI
To destroy a hosted cluster on {ibm-power-title}, you can use the hcp command-line interface (CLI).
.Procedure
* Delete the hosted cluster by running the following command:
+
[source,terminal]
----
$ hcp destroy cluster agent
--name=<hosted_cluster_name> \// <1>
--namespace=<hosted_cluster_namespace> \// <2>
--cluster-grace-period <duration> <3>
----
<1> Replace `<hosted_cluster_name>` with the name of your hosted cluster.
<2> Replace `<hosted_cluster_namespace>` with the name of your hosted cluster namespace.
<3> Specifies the duration to destroy the hosted cluster completely, for example, `20m0s`.