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:
@@ -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
|
||||
|
||||
11
hosted_control_planes/hcp-destroy/hcp-destroy-ibmpower.adoc
Normal file
11
hosted_control_planes/hcp-destroy/hcp-destroy-ibmpower.adoc
Normal 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]
|
||||
24
modules/destroy-hc-ibmpower-cli.adoc
Normal file
24
modules/destroy-hc-ibmpower-cli.adoc
Normal 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`.
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user