Skip to content

Commit 24a580e

Browse files
authored
Merge pull request #36333 from emarcusRH/ocprhv-482A
2 parents 2a5a1c8 + 8ecda05 commit 24a580e

File tree

2 files changed

+23
-30
lines changed

2 files changed

+23
-30
lines changed

modules/installation-configuration-parameters.adoc

Lines changed: 15 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// Module included in the following assemblies:
22
//
3-
// * installing/installing_aws/installing-aws-china.adoc
43
// * installing/installing_aws/installing-aws-customizations.adoc
54
// * installing/installing_aws/installing-aws-government-region.adoc
65
// * installing/installing_aws/installing-aws-network-customizations.adoc
@@ -36,14 +35,11 @@
3635
// * installing/installing_ibm_power/installing-ibm-power.adoc
3736
// * installing/installing_ibm_power/installing-restricted-networks-ibm-power.adoc
3837

39-
ifeval::["{context}" == "installing-aws-china-region"]
40-
:aws-china:
41-
endif::[]
4238
ifeval::["{context}" == "installing-aws-customizations"]
4339
:aws:
4440
endif::[]
4541
ifeval::["{context}" == "installing-aws-government-region"]
46-
:aws-gov:
42+
:aws:
4743
endif::[]
4844
ifeval::["{context}" == "installing-aws-network-customizations"]
4945
:aws:
@@ -174,25 +170,14 @@ endif::[]
174170
= Installation configuration parameters
175171

176172
// If install-config.yaml is generated by openshift-install
177-
ifndef::bare,ibm-power,ibm-z,aws-china,aws-gov[]
173+
ifndef::bare,ibm-power,ibm-z[]
178174
Before you deploy an {product-title} cluster, you provide parameter values to describe your account on the cloud platform that hosts your cluster and optionally customize your cluster's platform. When you create the `install-config.yaml` installation configuration file, you provide values for the required parameters through the command line. If you customize your cluster, you can modify the `install-config.yaml` file to provide more details about the platform.
179-
endif::bare,ibm-power,ibm-z,aws-china,aws-gov[]
175+
endif::bare,ibm-power,ibm-z[]
180176
// If the user manually creates install-config.yaml
181177
ifdef::bare,ibm-power,ibm-z[]
182178
Before you deploy an {product-title} cluster, you provide a customized `install-config.yaml` installation configuration file that describes the details for your environment.
183179
endif::bare,ibm-power,ibm-z[]
184180

185-
ifdef::aws-china,aws-gov[]
186-
Before you deploy an {product-title} cluster, modify the installation configuration file (`install-config.yaml`) to describe your environment. While there are other required parameters, you must specify:
187-
188-
* The platform and region to which you are installing the cluster.
189-
* The name of the {op-system} Amazon machine image (AMI) that you created.
190-
191-
You can find the parameters for these values under `platform`.
192-
193-
The following tables detail the required, as well as optional, parameters.
194-
endif::aws-china,aws-gov[]
195-
196181
[NOTE]
197182
====
198183
After installation, you cannot modify these parameters in the `install-config.yaml` file.
@@ -591,7 +576,7 @@ a|For example, `sshKey: ssh-ed25519 AAAA..`.
591576

592577
|====
593578

594-
ifdef::aws,aws-china,aws-gov[]
579+
ifdef::aws[]
595580
[id="installation-configuration-parameters-optional-aws_{context}"]
596581
== Optional AWS configuration parameters
597582

@@ -689,7 +674,7 @@ host must trust the certificate.
689674
|Valid subnet IDs.
690675

691676
|====
692-
endif::aws,aws-china,aws-gov[]
677+
endif::aws[]
693678

694679
ifdef::osp[]
695680
[id="installation-configuration-parameters-additional-osp_{context}"]
@@ -1096,7 +1081,7 @@ Additional {rh-virtualization} configuration parameters for machine pools are de
10961081
|Optional. The VM workload type, such as `high-performance`, `server`, or `desktop`. By default, master nodes use `high-performance`, and worker nodes use `server`. For details, see link:https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.4/html-single/virtual_machine_management_guide/index#Virtual_Machine_General_settings_explained[Explanation of Settings in the New Virtual Machine and Edit Virtual Machine Windows] and link:https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.4/html-single/virtual_machine_management_guide/index#Configuring_High_Performance_Virtual_Machines_Templates_and_Pools[Configuring High Performance Virtual Machines, Templates, and Pools] in the _Virtual Machine Management Guide_.
10971082
[NOTE]
10981083
====
1099-
`high_performance` improves performance on the VM, but there are limitations. For example, you cannot access the VM with a graphical console. For more information see link:https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.4/html-single/virtual_machine_management_guide/index#Configuring_High_Performance_Virtual_Machines_Templates_and_Pools[Configuring High Performance Virtual Machines, Templates, and Pools] in the _Virtual Machine Management Guide_.
1084+
`high_performance` improves performance on the VM, but there are limitations. For example, you cannot access the VM with a graphical console. For more information, see link:https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.4/html-single/virtual_machine_management_guide/index#Configuring_High_Performance_Virtual_Machines_Templates_and_Pools[Configuring High Performance Virtual Machines, Templates, and Pools] in the _Virtual Machine Management Guide_.
11001085
====
11011086
|String
11021087

@@ -1129,6 +1114,14 @@ This example defines no affinity groups:
11291114
affinityGroupNames: []
11301115
----
11311116
|String
1117+
|`<machine-pool>.platform.ovirt.AutoPinningPolicy`
1118+
| Optional. AutoPinningPolicy defines the policy to automatically set the CPU and NUMA settings, including pinning to the host for the instance. When the field is omitted, the default is `none`. Supported values: `none`, `resize_and_pin`. For more information, see link:https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.4/html-single/virtual_machine_management_guide/index#Setting_NUMA_Nodes[Setting NUMA Nodes] in the _Virtual Machine Management Guide_.
1119+
1120+
|String
1121+
|`<machine-pool>.platform.ovirt.hugepages`
1122+
|Optional. Hugepages is the size in KiB for defining hugepages in a VM. Supported values: `2048` or `1048576`. For more information, see link:https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.4/html-single/virtual_machine_management_guide/index#Configuring_Huge_Pages[Configuring Huge Pages] in the _Virtual Machine Management Guide_.
1123+
1124+
|Integer
11321125

11331126
|====
11341127

@@ -1230,15 +1223,11 @@ endif::vsphere,vmc[]
12301223
ifdef::bare[]
12311224
:!bare:
12321225
endif::bare[]
1233-
1234-
ifeval::["{context}" == "installing-aws-china-region"]
1235-
:!aws-china:
1236-
endif::[]
12371226
ifeval::["{context}" == "installing-aws-customizations"]
12381227
:!aws:
12391228
endif::[]
12401229
ifeval::["{context}" == "installing-aws-government-region"]
1241-
:!aws-gov:
1230+
:!aws:
12421231
endif::[]
12431232
ifeval::["{context}" == "installing-aws-network-customizations"]
12441233
:!aws:

modules/machineset-yaml-rhv.adoc

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,12 @@ spec:
5757
name: ovirt-credentials <18>
5858
kind: OvirtMachineProviderSpec
5959
type: <workload_type> <19>
60+
auto_pinning_policy: <auto_pinning_policy> <20>
61+
hugepages: <hugepages> <21>
62+
affinityGroupsNames:
63+
- compute <22>
6064
userDataSecret:
6165
name: worker-user-data
62-
affinityGroupsNames:
63-
- compute <20>
6466
----
6567
<1> Specify the infrastructure ID that is based on the cluster ID that you set when you provisioned the cluster. If you have the OpenShift CLI (`oc`) installed, you can obtain the infrastructure ID by running the following command:
6668
+
@@ -103,8 +105,10 @@ $ oc get -o jsonpath='{.status.infrastructureName}{"\n"}' infrastructure cluster
103105

104106
<18> Specify the name of the secret that holds the {rh-virtualization} credentials.
105107

106-
<19> Optional: Specify the workload type for which the instance is optimized. This value affects the `{rh-virtualization} VM` parameter. Supported values: `desktop`, `server` (default), `high_performance`. `high_performance` improves performance on the VM, but there are limitations. For example, you cannot access the VM with a graphical console. For more information see link:https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.4/html-single/virtual_machine_management_guide/index#Configuring_High_Performance_Virtual_Machines_Templates_and_Pools[Configuring High Performance Virtual Machines, Templates, and Pools] in the _Virtual Machine Management Guide_.
107-
<20> A list of affinity group names that should be applied to the VMs. The affinity groups must exist in oVirt.
108+
<19> Optional: Specify the workload type for which the instance is optimized. This value affects the `{rh-virtualization} VM` parameter. Supported values: `desktop`, `server` (default), `high_performance`. `high_performance` improves performance on the VM, but there are limitations. For example, you cannot access the VM with a graphical console. For more information, see link:https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.4/html-single/virtual_machine_management_guide/index#Configuring_High_Performance_Virtual_Machines_Templates_and_Pools[Configuring High Performance Virtual Machines, Templates, and Pools] in the _Virtual Machine Management Guide_.
109+
<20> Optional: AutoPinningPolicy defines the policy that automatically sets CPU and NUMA settings, including pinning to the host for this instance. Supported values: `none`, `resize_and_pin`. For more information, see link:https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.4/html-single/virtual_machine_management_guide/index#Setting_NUMA_Nodes[Setting NUMA Nodes] in the _Virtual Machine Management Guide_.
110+
<21> Optional: Hugepages is the size in KiB for defining hugepages in a VM. Supported values: `2048` or `1048576`. For more information, see link:https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.4/html-single/virtual_machine_management_guide/index#Configuring_Huge_Pages[Configuring Huge Pages] in the _Virtual Machine Management Guide_.
111+
<22> Optional: A list of affinity group names that should be applied to the VMs. The affinity groups must exist in oVirt.
108112

109113
[NOTE]
110114
====

0 commit comments

Comments
 (0)