You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/machineset-yaml-rhv.adoc
+41-33Lines changed: 41 additions & 33 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,25 +44,27 @@ spec:
44
44
cluster_id: <ovirt_cluster_id> <6>
45
45
template_name: <ovirt_template_name> <7>
46
46
instance_type_id: <instance_type_id> <8>
47
-
cpu: <9>
48
-
sockets: <number_of_sockets> <10>
49
-
cores: <number_of_cores> <11>
50
-
threads: <number_of_threads> <12>
51
-
memory_mb: <memory_size> <13>
52
-
guaranteed_memory_mb: <memory_size> <14>
53
-
os_disk: <15>
54
-
size_gb: <disk_size> <16>
55
-
storage_domain_id: <storage_domain_UUID> <17>
56
-
network_interfaces: <18>
57
-
vnic_profile_id: <vnic_profile_id> <19>
47
+
sparse: <boolean_value> <9>
48
+
format: <raw_or_cow> <10>
49
+
cpu: <11>
50
+
sockets: <number_of_sockets> <12>
51
+
cores: <number_of_cores> <13>
52
+
threads: <number_of_threads> <14>
53
+
memory_mb: <memory_size> <15>
54
+
guaranteed_memory_mb: <memory_size> <16>
55
+
os_disk: <17>
56
+
size_gb: <disk_size> <18>
57
+
storage_domain_id: <storage_domain_UUID> <19>
58
+
network_interfaces: <20>
59
+
vnic_profile_id: <vnic_profile_id> <21>
58
60
credentialsSecret:
59
-
name: ovirt-credentials <20>
61
+
name: ovirt-credentials <22>
60
62
kind: OvirtMachineProviderSpec
61
-
type: <workload_type> <21>
62
-
auto_pinning_policy: <auto_pinning_policy> <22>
63
-
hugepages: <hugepages> <23>
63
+
type: <workload_type> <23>
64
+
auto_pinning_policy: <auto_pinning_policy> <24>
65
+
hugepages: <hugepages> <25>
64
66
affinityGroupsNames:
65
-
- compute <24>
67
+
- compute <26>
66
68
userDataSecret:
67
69
name: worker-user-data
68
70
----
@@ -93,39 +95,45 @@ The `instance_type_id` field is deprecated and will be removed in a future relea
93
95
====
94
96
+
95
97
If you include this parameter, you do not need to specify the hardware parameters of the VM including CPU and memory because this parameter overrides all hardware parameters.
98
+
<9> Setting this option to `false` enables preallocation of disks. The default is `true`. Setting `sparse` to `true` with `format` set to `raw` is not available for block storage domains. The `raw` format writes the entire virtual disk to the underlying physical disk.
99
+
<10> Can be set to `cow` or `raw`. The default is `cow`. The `cow` format is optimized for virtual machines.
100
+
+
101
+
[NOTE]
102
+
====
103
+
Preallocating disks on file storage domains writes zeroes to the file. This might not actually preallocate disks depending on the underlying storage.
104
+
====
105
+
<11> Optional: The CPU field contains the CPU configuration, including sockets, cores, and threads.
96
106
97
-
<9> Optional: The CPU field contains the CPU's configuration, including sockets, cores, and threads.
98
-
99
-
<10> Optional: Specify the number of sockets for a VM.
107
+
<12> Optional: Specify the number of sockets for a VM.
100
108
101
-
<11> Optional: Specify the number of cores per socket.
109
+
<13> Optional: Specify the number of cores per socket.
102
110
103
-
<12> Optional: Specify the number of threads per core.
111
+
<14> Optional: Specify the number of threads per core.
104
112
105
-
<13> Optional: Specify the size of a VM's memory in MiB.
113
+
<15> Optional: Specify the size of a VM's memory in MiB.
106
114
107
-
<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].
115
+
<16> 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].
108
116
+
109
117
[NOTE]
110
118
====
111
119
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].
112
120
====
113
-
<15> Optional: Root disk of the node.
121
+
<17> Optional: Root disk of the node.
114
122
115
-
<16> Optional: Specify the size of the bootable disk in GiB.
123
+
<18> Optional: Specify the size of the bootable disk in GiB.
116
124
117
-
<17> Optional: Specify the UUID of the storage domain for the compute node's disks. If none is provided, the compute node is created on the same storage domain as the control nodes. (default)
125
+
<19> Optional: Specify the UUID of the storage domain for the compute node's disks. If none is provided, the compute node is created on the same storage domain as the control nodes. (default)
118
126
119
-
<18> 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.
127
+
<20> 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.
120
128
121
-
<19> Optional: Specify the vNIC profile ID.
129
+
<21> Optional: Specify the vNIC profile ID.
122
130
123
-
<20> Specify the name of the secret object that holds the {rh-virtualization} credentials.
131
+
<22> Specify the name of the secret object that holds the {rh-virtualization} credentials.
124
132
125
-
<21> 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. Limitations exist, 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_.
126
-
<22> 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_.
127
-
<23> 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_.
128
-
<24> Optional: A list of affinity group names to be applied to the VMs. The affinity groups must exist in oVirt.
133
+
<23> 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. Limitations exist, 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_.
134
+
<24> 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_.
135
+
<25> 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_.
136
+
<26> Optional: A list of affinity group names to be applied to the VMs. The affinity groups must exist in oVirt.
0 commit comments