Skip to content

Commit 1cebb04

Browse files
authored
Merge pull request #38129 from emarcusRH/1993128
BZ#1993128 add guaranteed memory parameter to RHV Machineset sample YAML
2 parents dea58fd + 4db504c commit 1cebb04

File tree

1 file changed

+25
-18
lines changed

1 file changed

+25
-18
lines changed

modules/machineset-yaml-rhv.adoc

Lines changed: 25 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -49,18 +49,19 @@ spec:
4949
cores: <number_of_cores> <11>
5050
threads: <number_of_threads> <12>
5151
memory_mb: <memory_size> <13>
52-
os_disk: <14>
53-
size_gb: <disk_size> <15>
54-
network_interfaces: <16>
55-
vnic_profile_id: <vnic_profile_id> <17>
52+
guaranteed_memory_mb: <memory_size> <14>
53+
os_disk: <15>
54+
size_gb: <disk_size> <16>
55+
network_interfaces: <17>
56+
vnic_profile_id: <vnic_profile_id> <18>
5657
credentialsSecret:
57-
name: ovirt-credentials <18>
58+
name: ovirt-credentials <19>
5859
kind: OvirtMachineProviderSpec
59-
type: <workload_type> <19>
60-
auto_pinning_policy: <auto_pinning_policy> <20>
61-
hugepages: <hugepages> <21>
60+
type: <workload_type> <20>
61+
auto_pinning_policy: <auto_pinning_policy> <21>
62+
hugepages: <hugepages> <22>
6263
affinityGroupsNames:
63-
- compute <22>
64+
- compute <23>
6465
userDataSecret:
6566
name: worker-user-data
6667
----
@@ -102,20 +103,26 @@ If you include this parameter, you do not need to specify the hardware parameter
102103

103104
<13> Optional: Specify the size of a VM's memory in MiB.
104105

105-
<14> Optional: Root disk of the node.
106+
<14> Optional: Specify the size of a virtual machine's guaranteed memory in MiB. This is the amount of memory that is guaranteed not to be drained by the ballooning mechanism. For more information, see link:https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.4/html-single/administration_guide#memory_ballooning[Memory Ballooning] and link:https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.4/html-single/administration_guide#Cluster_Optimization_Settings_Explained[Optimization Settings Explained].
107+
+
108+
[NOTE]
109+
====
110+
If you are using a version earlier than {rh-virtualization} 4.4.8, see link:https://access.redhat.com/articles/6454811[Guaranteed memory requirements for OpenShift on Red Hat Virtualization clusters].
111+
====
112+
<15> Optional: Root disk of the node.
106113

107-
<15> Optional: Specify the size of the bootable disk in GiB.
114+
<16> Optional: Specify the size of the bootable disk in GiB.
108115

109-
<16> Optional: List of the network interfaces of the VM. If you include this parameter, {product-title} discards all network interfaces from the template and creates new ones.
116+
<17> Optional: List of the network interfaces of the VM. If you include this parameter, {product-title} discards all network interfaces from the template and creates new ones.
110117

111-
<17> Optional: Specify the vNIC profile ID.
118+
<18> Optional: Specify the vNIC profile ID.
112119

113-
<18> Specify the name of the secret that holds the {rh-virtualization} credentials.
120+
<19> Specify the name of the secret that holds the {rh-virtualization} credentials.
114121

115-
<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_.
116-
<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_.
117-
<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_.
118-
<22> Optional: A list of affinity group names that should be applied to the VMs. The affinity groups must exist in oVirt.
122+
<20> 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_.
123+
<21> 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_.
124+
<22> 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_.
125+
<23> Optional: A list of affinity group names that should be applied to the VMs. The affinity groups must exist in oVirt.
119126

120127
[NOTE]
121128
====

0 commit comments

Comments
 (0)