Skip to content

Commit d7c8372

Browse files
Merge pull request #98056 from lahinson/osdocs-15983-cqa-hcp-virt
[OSDOCS-15983]: Fixing non-technical issues in HCP on OpenShift Virtualization content
2 parents 433939a + 09a4fad commit d7c8372

File tree

8 files changed

+53
-51
lines changed

8 files changed

+53
-51
lines changed

hosted_control_planes/hcp-deploy/hcp-deploy-virt.adoc

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ toc::[]
88

99
With {hcp} and {VirtProductName}, you can create {product-title} clusters with worker nodes that are hosted by KubeVirt virtual machines. {hcp-capital} on {VirtProductName} provides several benefits:
1010

11-
* Enhances resource usage by packing {hcp} and hosted clusters in the same underlying bare metal infrastructure
11+
* Enhances resource usage by packing {hcp} and hosted clusters in the same underlying bare-metal infrastructure
1212
* Separates {hcp} and hosted clusters to provide strong isolation
13-
* Reduces cluster provision time by eliminating the bare metal node bootstrapping process
13+
* Reduces cluster provision time by eliminating the bare-metal node bootstrapping process
1414
* Manages many releases under the same base {product-title} cluster
1515
1616
The {hcp} feature is enabled by default.
@@ -19,6 +19,7 @@ You can use the hosted control plane command-line interface, `hcp`, to create an
1919

2020
[role="_additional-resources"]
2121
.Additional resources
22+
2223
* xref:../../hosted_control_planes/hcp-import.adoc#hcp-import-disable_hcp-import[Disabling the automatic import of hosted clusters into {mce-short}]
2324
* xref:../../hosted_control_planes/hcp-prepare/hcp-enable-disable.adoc[Enabling or disabling the {hcp} feature]
2425
* link:https://docs.redhat.com/en/documentation/red_hat_advanced_cluster_management_for_kubernetes/2.14/html/clusters/cluster_mce_overview#ansible-config-hosted-cluster[Configuring Ansible Automation Platform jobs to run on hosted clusters]
@@ -35,6 +36,7 @@ include::modules/hcp-virt-prereqs.adoc[leveloffset=+2]
3536

3637
[role="_additional-resources"]
3738
.Additional resources
39+
3840
* xref:../../virt/install/installing-virt.adoc#installing-virt-web[Installing OpenShift Virtualization using the web console]
3941
* xref:../../post_installation_configuration/post-install-storage-configuration.adoc#post-install-storage-configuration[Postinstallation storage configuration]
4042
* link:https://console.redhat.com/openshift/install/platform-agnostic/user-provisioned[Install OpenShift on any x86_64 platform with user-provisioned infrastructure]
@@ -57,9 +59,9 @@ include::modules/hcp-virt-create-hc-console.adoc[leveloffset=+2]
5759
[role="_additional-resources"]
5860
.Additional resources
5961

60-
* To create credentials that you can reuse when you create a hosted cluster with the console, see link:https://docs.redhat.com/en/documentation/red_hat_advanced_cluster_management_for_kubernetes/2.14/html/clusters/cluster_mce_overview#creating-a-credential-for-an-on-premises-environment[Creating a credential for an on-premises environment].
62+
* link:https://docs.redhat.com/en/documentation/red_hat_advanced_cluster_management_for_kubernetes/2.14/html/clusters/cluster_mce_overview#creating-a-credential-for-an-on-premises-environment[Creating a credential for an on-premises environment]
6163

62-
* To access the hosted cluster, see xref:../../hosted_control_planes/hcp-manage/hcp-manage-virt.adoc#hcp-virt-access_hcp-manage-virt[Accessing the hosted cluster].
64+
* xref:../../hosted_control_planes/hcp-manage/hcp-manage-virt.adoc#hcp-virt-access_hcp-manage-virt[Accessing the hosted cluster]
6365

6466
include::modules/hcp-virt-ingress-dns.adoc[leveloffset=+1]
6567
include::modules/hcp-custom-dns.adoc[leveloffset=+2]
@@ -78,7 +80,7 @@ include::modules/hcp-metallb.adoc[leveloffset=+1]
7880
[role="_additional-resources"]
7981
.Additional resources
8082

81-
* For more information about MetalLB, see xref:../../networking/networking_operators/metallb-operator/metallb-operator-install.adoc#metallb-operator-install_metallb-operator-install[Installing the MetalLB Operator].
83+
* xref:../../networking/networking_operators/metallb-operator/metallb-operator-install.adoc#metallb-operator-install_metallb-operator-install[Installing the MetalLB Operator]
8284

8385
[id="hcp-virt-addl-resources"]
8486
== Configuring additional networks, guaranteed CPUs, and VM scheduling for node pools
@@ -96,7 +98,7 @@ include::modules/hcp-virt-add-node.adoc[leveloffset=+2]
9698
[role="_additional-resources"]
9799
.Additional resources
98100

99-
* To scale down the data plane to zero, see link:https://access.redhat.com/documentation/en-us/openshift_container_platform/4.15/html/hosted_control_planes/troubleshooting-hosted-control-planes#scale-down-data-plane_hcp-troubleshooting[Scaling down the data plane to zero].
101+
* link:https://access.redhat.com/documentation/en-us/openshift_container_platform/4.15/html/hosted_control_planes/troubleshooting-hosted-control-planes#scale-down-data-plane_hcp-troubleshooting[Scaling down the data plane to zero]
100102

101103
include::modules/hcp-virt-verify-hc.adoc[leveloffset=+1]
102104

modules/hcp-virt-add-networks.adoc

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,20 @@ By default, nodes generated by a node pool are attached to the pod network. You
1010

1111
.Procedure
1212

13-
To add multiple networks to nodes, use the `--additional-network` argument by running the following command:
14-
13+
* To add multiple networks to nodes, use the `--additional-network` argument by running the following command:
14+
+
1515
[source,terminal]
1616
----
1717
$ hcp create cluster kubevirt \
18-
--name <hosted_cluster_name> \ <1>
19-
--node-pool-replicas <worker_node_count> \ <2>
20-
--pull-secret <path_to_pull_secret> \ <3>
21-
--memory <memory> \ <4>
22-
--cores <cpu> \ <5>
23-
--additional-network name:<namespace/name> \ <6>
18+
--name <hosted_cluster_name> \// <1>
19+
--node-pool-replicas <worker_node_count> \// <2>
20+
--pull-secret <path_to_pull_secret> \// <3>
21+
--memory <memory> \// <4>
22+
--cores <cpu> \// <5>
23+
--additional-network name:<namespace/name> \// <6>
2424
–-additional-network name:<namespace/name>
2525
----
26-
27-
<1> Specify the name of your hosted cluster, for instance, `example`.
26+
<1> Specify the name of your hosted cluster, for example, `my-hosted-cluster`.
2827
<2> Specify your worker node count, for example, `2`.
2928
<3> Specify the path to your pull secret, for example, `/user/name/pullsecret`.
3029
<4> Specify the memory value, for example, `8Gi`.

modules/hcp-virt-addl-network.adoc

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,19 @@ You can add your additional network as a default network for the nodes by disabl
1212

1313
* To add an additional network as default to your nodes, run the following command:
1414
+
15-
[source,bash]
15+
[source,terminal]
1616
----
1717
$ hcp create cluster kubevirt \
18-
--name <hosted_cluster_name> \ <1>
19-
--node-pool-replicas <worker_node_count> \ <2>
20-
--pull-secret <path_to_pull_secret> \ <3>
21-
--memory <memory> \ <4>
22-
--cores <cpu> \ <5>
23-
--attach-default-network false \ <6>
18+
--name <hosted_cluster_name> \// <1>
19+
--node-pool-replicas <worker_node_count> \// <2>
20+
--pull-secret <path_to_pull_secret> \// <3>
21+
--memory <memory> \// <4>
22+
--cores <cpu> \// <5>
23+
--attach-default-network false \// <6>
2424
--additional-network name:<namespace>/<network_name> <7>
2525
----
2626
+
27-
<1> Specify the name of your hosted cluster, for instance, `example`.
27+
<1> Specify the name of your hosted cluster, for example, `my-hosted-cluster`.
2828
<2> Specify your worker node count, for example, `2`.
2929
<3> Specify the path to your pull secret, for example, `/user/name/pullsecret`.
3030
<4> Specify the memory value, for example, `8Gi`.

modules/hcp-virt-create-hc-cli.adoc

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@ $ hcp create cluster kubevirt \
2323
--cores <value_for_cpu> \// <5>
2424
--etcd-storage-class=<etcd_storage_class> <6>
2525
----
26-
+
27-
<1> Specify the name of your hosted cluster, for instance, `example`.
26+
<1> Specify the name of your hosted cluster, for example, `my-hosted-cluster`.
2827
<2> Specify the node pool replica count, for example, `3`. You must specify the replica count as `0` or greater to create the same number of replicas. Otherwise, no node pools are created.
2928
<3> Specify the path to your pull secret, for example, `/user/name/pullsecret`.
3029
<4> Specify a value for memory, for example, `6Gi`.
@@ -61,7 +60,9 @@ redhat-operators-catalog-9d5fd4d44-z8qqk 1/1 Running 0
6160
+
6261
A hosted cluster that has worker nodes that are backed by KubeVirt virtual machines typically takes 10-15 minutes to be fully provisioned.
6362

64-
. To check the status of the hosted cluster, see the corresponding `HostedCluster` resource by entering the following command:
63+
.Verification
64+
65+
* To check the status of the hosted cluster, see the corresponding `HostedCluster` resource by entering the following command:
6566
+
6667
[source,terminal]
6768
----
@@ -71,8 +72,8 @@ $ oc get --namespace clusters hostedclusters
7172
See the following example output, which illustrates a fully provisioned `HostedCluster` object:
7273
+
7374
----
74-
NAMESPACE NAME VERSION KUBECONFIG PROGRESS AVAILABLE PROGRESSING MESSAGE
75-
clusters example <4.x.0> example-admin-kubeconfig Completed True False The hosted control plane is available
75+
NAMESPACE NAME VERSION KUBECONFIG PROGRESS AVAILABLE PROGRESSING MESSAGE
76+
clusters my-hosted-cluster <4.x.0> example-admin-kubeconfig Completed True False The hosted control plane is available
7677
----
7778
+
7879
Replace `<4.x.0>` with the supported {product-title} version that you want to use.

modules/hcp-virt-create-hc-ext-infra.adoc

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,16 @@ You can create a hosted cluster by using the `hcp` command-line interface.
2929
[source,terminal]
3030
----
3131
$ hcp create cluster kubevirt \
32-
--name <hosted-cluster-name> \ <1>
33-
--node-pool-replicas <worker-count> \ <2>
34-
--pull-secret <path-to-pull-secret> \ <3>
35-
--memory <value-for-memory> \ <4>
36-
--cores <value-for-cpu> \ <5>
37-
--infra-namespace=<hosted-cluster-namespace>-<hosted-cluster-name> \ <6>
32+
--name <hosted-cluster-name> \// <1>
33+
--node-pool-replicas <worker-count> \// <2>
34+
--pull-secret <path-to-pull-secret> \// <3>
35+
--memory <value-for-memory> \// <4>
36+
--cores <value-for-cpu> \// <5>
37+
--infra-namespace=<hosted-cluster-namespace>-<hosted-cluster-name> \// <6>
3838
--infra-kubeconfig-file=<path-to-external-infra-kubeconfig> <7>
3939
----
4040
+
41-
<1> Specify the name of your hosted cluster, for instance, `example`.
41+
<1> Specify the name of your hosted cluster, for example, `my-hosted-cluster`.
4242
<2> Specify the worker count, for example, `2`.
4343
<3> Specify the path to your pull secret, for example, `/user/name/pullsecret`.
4444
<4> Specify a value for memory, for example, `6Gi`.

modules/hcp-virt-guaranteed-cpus.adoc

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,24 +6,24 @@
66
[id="hcp-virt-guaranteed-cpus_{context}"]
77
= Requesting guaranteed CPU resources
88

9-
By default, KubeVirt VMs might share its CPUs with other workloads on a node. This might impact performance of a VM. To avoid the performance impact, you can request a guaranteed CPU access for VMs.
9+
By default, KubeVirt VMs might share their CPUs with other workloads on a node. This might impact performance of a VM. To avoid the performance impact, you can request a guaranteed CPU access for VMs.
1010

1111
.Procedure
1212

1313
* To request guaranteed CPU resources, set the `--qos-class` argument to `Guaranteed` by running the following command:
1414
+
15-
[source,bash]
15+
[source,terminal]
1616
----
1717
$ hcp create cluster kubevirt \
18-
--name <hosted_cluster_name> \ <1>
19-
--node-pool-replicas <worker_node_count> \ <2>
20-
--pull-secret <path_to_pull_secret> \ <3>
21-
--memory <memory> \ <4>
22-
--cores <cpu> \ <5>
18+
--name <hosted_cluster_name> \// <1>
19+
--node-pool-replicas <worker_node_count> \// <2>
20+
--pull-secret <path_to_pull_secret> \// <3>
21+
--memory <memory> \// <4>
22+
--cores <cpu> \// <5>
2323
--qos-class Guaranteed <6>
2424
----
2525
+
26-
<1> Specify the name of your hosted cluster, for instance, `example`.
26+
<1> Specify the name of your hosted cluster, for example, `my-hosted-cluster`.
2727
<2> Specify your worker node count, for example, `2`.
2828
<3> Specify the path to your pull secret, for example, `/user/name/pullsecret`.
2929
<4> Specify the memory value, for example, `8Gi`.

modules/hcp-virt-prereqs.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
You must meet the following prerequisites to create an {product-title} cluster on {VirtProductName}:
1010

1111
* You have administrator access to an {product-title} cluster, version 4.14 or later, specified in the `KUBECONFIG` environment variable.
12-
* The {product-title} management cluster has wildcard DNS routes enabled, as shown in the following DNS:
12+
* The {product-title} management cluster has wildcard DNS routes enabled, as shown in the following DNS configuration:
1313
+
1414
[source,terminal]
1515
----

modules/hcp-virt-sched-vms.adoc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@ By default, KubeVirt VMs created by a node pool are scheduled to any available n
1515
[source,terminal]
1616
----
1717
$ hcp create cluster kubevirt \
18-
--name <hosted_cluster_name> \ <1>
19-
--node-pool-replicas <worker_node_count> \ <2>
20-
--pull-secret <path_to_pull_secret> \ <3>
21-
--memory <memory> \ <4>
22-
--cores <cpu> \ <5>
18+
--name <hosted_cluster_name> \// <1>
19+
--node-pool-replicas <worker_node_count> \// <2>
20+
--pull-secret <path_to_pull_secret> \// <3>
21+
--memory <memory> \// <4>
22+
--cores <cpu> \// <5>
2323
--vm-node-selector <label_key>=<label_value>,<label_key>=<label_value> <6>
2424
----
2525
+
26-
<1> Specify the name of your hosted cluster, for instance, `example`.
26+
<1> Specify the name of your hosted cluster, for example, `my-hosted-cluster`.
2727
<2> Specify your worker node count, for example, `2`.
2828
<3> Specify the path to your pull secret, for example, `/user/name/pullsecret`.
2929
<4> Specify the memory value, for example, `8Gi`.

0 commit comments

Comments
 (0)