Skip to content

Commit 6b842ff

Browse files
authored
Merge pull request #81948 from xenolinux/destroy-hc-on-ibmpower
OSDOCS#12032: Destroying hosted clusters on IBM Power
2 parents 319791b + 813f207 commit 6b842ff

File tree

4 files changed

+38
-1
lines changed

4 files changed

+38
-1
lines changed

_topic_maps/_topic_map.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2488,6 +2488,8 @@ Topics:
24882488
File: hcp-destroy-virt
24892489
- Name: Destroying a hosted cluster on IBM Z
24902490
File: hcp-destroy-ibmz
2491+
- Name: Destroying a hosted cluster on IBM Power
2492+
File: hcp-destroy-ibmpower
24912493
- Name: Destroying a hosted cluster on non-bare metal agent machines
24922494
File: hcp-destroy-non-bm
24932495
- Name: Manually importing a hosted cluster
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
:_mod-docs-content-type: ASSEMBLY
2+
[id="hcp-destroy-ibmpower"]
3+
include::_attributes/common-attributes.adoc[]
4+
= Destroying a hosted cluster on {ibm-power-title}
5+
:context: hcp-destroy-ibmpower
6+
7+
toc::[]
8+
9+
You can destroy a hosted cluster on {ibm-power-title} by using the command-line interface (CLI).
10+
11+
include::modules/destroy-hc-ibmpower-cli.adoc[leveloffset=+1]

modules/destroy-hc-ibmpower-cli.adoc

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * hosted_control_planes/hcp-destroy/hcp-destroy-ibmpower.adoc
4+
5+
:_mod-docs-content-type: PROCEDURE
6+
[id="destroy-hc-ibmpower-cli_{context}"]
7+
= Destroying a hosted cluster on {ibm-power-title} by using the CLI
8+
9+
To destroy a hosted cluster on {ibm-power-title}, you can use the hcp command-line interface (CLI).
10+
11+
.Procedure
12+
13+
* Delete the hosted cluster by running the following command:
14+
+
15+
[source,terminal]
16+
----
17+
$ hcp destroy cluster agent
18+
--name=<hosted_cluster_name> \// <1>
19+
--namespace=<hosted_cluster_namespace> \// <2>
20+
--cluster-grace-period <duration> <3>
21+
----
22+
<1> Replace `<hosted_cluster_name>` with the name of your hosted cluster.
23+
<2> Replace `<hosted_cluster_namespace>` with the name of your hosted cluster namespace.
24+
<3> Specifies the duration to destroy the hosted cluster completely, for example, `20m0s`.

modules/destroy-hc-ibmz-cli.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
[id="destroy-hc-ibmz-cli_{context}"]
77
= Destroying a hosted cluster on x86 bare metal with {ibm-z-title} compute nodes
88

9-
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.
9+
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).
1010

1111
.Procedure
1212

0 commit comments

Comments
 (0)