Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions _topic_maps/_topic_map.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2487,6 +2487,8 @@ Topics:
File: hcp-destroy-virt
- Name: Destroying a hosted cluster on IBM Z
File: hcp-destroy-ibmz
- Name: Destroying a hosted cluster on IBM Power
File: hcp-destroy-ibmpower
- Name: Destroying a hosted cluster on non-bare metal agent machines
File: hcp-destroy-non-bm
- Name: Manually importing a hosted cluster
Expand Down
11 changes: 11 additions & 0 deletions hosted_control_planes/hcp-destroy/hcp-destroy-ibmpower.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
:_mod-docs-content-type: ASSEMBLY
[id="hcp-destroy-ibmpower"]
include::_attributes/common-attributes.adoc[]
= Destroying a hosted cluster on {ibm-power-title}
:context: hcp-destroy-ibmpower

toc::[]

You can destroy a hosted cluster on {ibm-power-title} by using the command-line interface (CLI).

include::modules/destroy-hc-ibmpower-cli.adoc[leveloffset=+1]
24 changes: 24 additions & 0 deletions modules/destroy-hc-ibmpower-cli.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
// Module included in the following assemblies:
//
// * hosted_control_planes/hcp-destroy/hcp-destroy-ibmpower.adoc

:_mod-docs-content-type: PROCEDURE
[id="destroy-hc-ibmpower-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`.
2 changes: 1 addition & 1 deletion modules/destroy-hc-ibmz-cli.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
[id="destroy-hc-ibmz-cli_{context}"]
= Destroying a hosted cluster on x86 bare metal with {ibm-z-title} compute nodes

You can use the command-line interface (CLI) to destroy a hosted cluster on `x86` bare metal with {ibm-z-title} compute nodes and its managed cluster.
To destroy a hosted cluster and its managed cluster on `x86` bare metal with {ibm-z-title} compute nodes, you can use the command-line interface (CLI).

.Procedure

Expand Down