Skip to content

Commit adb0e5a

Browse files
authored
Merge pull request #112761 from lahinson/osdocs-19995-cqa-hcp-deletion
[OSDOCS-19995]: CQA: Deleting hosted clusters
2 parents 915688e + 191e177 commit adb0e5a

16 files changed

Lines changed: 60 additions & 40 deletions
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
:_mod-docs-content-type: ASSEMBLY
2-
[id="hcp-destroy-aws"]
32
include::_attributes/common-attributes.adoc[]
3+
[id="hcp-destroy-aws"]
44
= Destroying a hosted cluster on {aws-short}
55
:context: hcp-destroy-aws
66

77
toc::[]
88

9-
You can destroy a hosted cluster and its managed cluster resource on {aws-first} by using the command-line interface (CLI).
9+
[role="_abstract"]
10+
You might want to remove a hosted cluster if you are no longer using it, you are trying to reduce resources, or the hosted cluster is experiencing issues that are difficult to resolve.
1011

1112
include::modules/hcp-destroy-aws-cli.adoc[leveloffset=+1]

hosted_control_planes/hcp-destroy/hcp-destroy-bm.adoc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
:_mod-docs-content-type: ASSEMBLY
2-
[id="hcp-destroy-bm"]
32
include::_attributes/common-attributes.adoc[]
3+
[id="hcp-destroy-bm"]
44
= Destroying a hosted cluster on bare metal
55
:context: hcp-destroy-bm
66

77
toc::[]
88

9-
You can destroy hosted clusters on bare metal by using the command-line interface (CLI) or the {mce-short} web console.
9+
[role="_abstract"]
10+
You might want to remove a hosted cluster if you are no longer using it, you are trying to reduce resources, or the hosted cluster is experiencing issues that are difficult to resolve.
1011

1112
include::modules/destroy-hc-bm-cli.adoc[leveloffset=+1]
1213

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
:_mod-docs-content-type: ASSEMBLY
2-
[id="hcp-destroy-ibm-power"]
32
include::_attributes/common-attributes.adoc[]
3+
[id="hcp-destroy-ibm-power"]
44
= Destroying a hosted cluster on {ibm-power-title}
55
:context: hcp-destroy-ibm-power
66

77
toc::[]
88

9-
You can destroy a hosted cluster on {ibm-power-title} by using the command-line interface (CLI).
9+
[role="_abstract"]
10+
You might want to remove a hosted cluster if you are no longer using it, you are trying to reduce resources, or the hosted cluster is experiencing issues that are difficult to resolve.
1011

1112
include::modules/destroy-hc-ibm-power-cli.adoc[leveloffset=+1]
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
:_mod-docs-content-type: ASSEMBLY
2-
[id="hcp-destroy-ibmz"]
32
include::_attributes/common-attributes.adoc[]
3+
[id="hcp-destroy-ibmz"]
44
= Destroying a hosted cluster on {ibm-z-title}
55
:context: hcp-destroy-ibmz
66

77
toc::[]
88

9-
You can destroy a hosted cluster on `x86` bare metal with {ibm-z-title} compute nodes and its managed cluster resource by using the command-line interface (CLI).
9+
[role="_abstract"]
10+
You might want to remove a hosted cluster if you are no longer using it, you are trying to reduce resources, or the hosted cluster is experiencing issues that are difficult to resolve.
1011

1112
include::modules/destroy-hc-ibm-z-cli.adoc[leveloffset=+1]

hosted_control_planes/hcp-destroy/hcp-destroy-non-bm.adoc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
:_mod-docs-content-type: ASSEMBLY
2-
[id="hcp-destroy-non-bm"]
32
include::_attributes/common-attributes.adoc[]
3+
[id="hcp-destroy-non-bm"]
44
= Destroying a hosted cluster on non-bare-metal agent machines
55
:context: hcp-destroy-non-bm
66

77
toc::[]
88

9-
You can destroy hosted clusters on non-bare-metal agent machines by using the command-line interface (CLI) or the {mce-short} web console.
9+
[role="_abstract"]
10+
You might want to remove a hosted cluster if you are no longer using it, you are trying to reduce resources, or the hosted cluster is experiencing issues that are difficult to resolve.
1011

1112
include::modules/destroy-hc-non-bm-cli.adoc[leveloffset=+1]
1213

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
:_mod-docs-content-type: ASSEMBLY
2-
[id="hcp-destroy-openstack"]
32
include::_attributes/common-attributes.adoc[]
3+
[id="hcp-destroy-openstack"]
44
= Destroying a hosted control plane on OpenStack
55
:context: hcp-destroy-openstack
66

77
toc::[]
88

9+
[role="_abstract"]
10+
You might want to remove a hosted cluster if you are no longer using it, you are trying to reduce resources, or the hosted cluster is experiencing issues that are difficult to resolve.
11+
912
include::modules/hosted-clusters-openstack-destroy.adoc[leveloffset=+1]
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
:_mod-docs-content-type: ASSEMBLY
2-
[id="hcp-destroy-virt"]
32
include::_attributes/common-attributes.adoc[]
3+
[id="hcp-destroy-virt"]
44
= Destroying a hosted cluster on {VirtProductName}
55
:context: hcp-destroy-virt
66

77
toc::[]
88

9-
You can destroy a hosted cluster and its managed cluster resource on {VirtProductName} by using the command-line interface (CLI).
9+
[role="_abstract"]
10+
You might want to remove a hosted cluster if you are no longer using it, you are trying to reduce resources, or the hosted cluster is experiencing issues that are difficult to resolve.
1011

1112
include::modules/destroy-hc-virt-cli.adoc[leveloffset=+1]

modules/destroy-hc-bm-cli.adoc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
[id="destroy-hc-bm-cli_{context}"]
77
= Destroying a hosted cluster on bare metal by using the CLI
88

9+
[role="_abstract"]
910
If you created a hosted cluster by using the command-line interface (CLI), you can destroy that hosted cluster and its back-end resources by running a command.
1011

1112
.Procedure
@@ -14,10 +15,10 @@ If you created a hosted cluster by using the command-line interface (CLI), you c
1415
+
1516
[source,terminal]
1617
----
17-
$ oc delete -f <hosted_cluster_config>.yaml <1>
18+
$ oc delete -f <hosted_cluster_config>.yaml
1819
----
1920
+
20-
<1> Specify the name of the configuration YAML file that was rendered when you created the hosted cluster.
21+
Specify the name of the configuration YAML file that was rendered when you created the hosted cluster.
2122
+
2223
[NOTE]
2324
====

modules/destroy-hc-bm-console.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
[id="destroy-hc-bm-console_{context}"]
77
= Destroying a hosted cluster on bare metal by using the web console
88

9+
[role="_abstract"]
910
You can use the {mce-short} web console to destroy a hosted cluster on bare metal.
1011

1112
.Procedure

modules/destroy-hc-ibm-power-cli.adoc

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
[id="destroy-hc-ibm-power-cli_{context}"]
77
= Destroying a hosted cluster on {ibm-power-title} by using the CLI
88

9+
[role="_abstract"]
910
To destroy a hosted cluster on {ibm-power-title}, you can use the hcp command-line interface (CLI).
1011

1112
.Procedure
@@ -15,10 +16,11 @@ To destroy a hosted cluster on {ibm-power-title}, you can use the hcp command-li
1516
[source,terminal]
1617
----
1718
$ hcp destroy cluster agent
18-
--name=<hosted_cluster_name> \// <1>
19-
--namespace=<hosted_cluster_namespace> \// <2>
20-
--cluster-grace-period <duration> <3>
19+
--name=<hosted_cluster_name> \
20+
--namespace=<hosted_cluster_namespace> \
21+
--cluster-grace-period <duration>
2122
----
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`.
23+
+
24+
** `<hosted_cluster_name>` specifies the name of your hosted cluster.
25+
** `<hosted_cluster_namespace>` specifies the name of your hosted cluster namespace.
26+
** `<duration>` specifies the duration to destroy the hosted cluster completely, for example, `20m0s`.

0 commit comments

Comments
 (0)