1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 12:46:18 +01:00

Merge pull request #82434 from openshift-cherrypick-robot/cherry-pick-81948-to-enterprise-4.17

[enterprise-4.17] OSDOCS#12032: Destroying hosted clusters on IBM Power
This commit is contained in:
Servesha Dudhgaonkar
2024-09-25 14:43:31 +05:30
committed by GitHub
4 changed files with 38 additions and 1 deletions

View File

@@ -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

View File

@@ -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]

View File

@@ -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`.

View File

@@ -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