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:
$ oc get -o jsonpath='{.status.infrastructureName}{"\n"}' infrastructure cluster
|
2 |
Specify the node label to add. |
3 |
Specify the infrastructure ID and node label. These two strings together cannot be longer than 35 characters. |
4 |
Specify the number of machines to create. |
5 |
Selector for the machines. |
6 |
Specify the UUID for the oVirt cluster to which this VM instance belongs. |
7 |
Specify the oVirt VM template to use to create the machine. |
8 |
Optional: Specify the VM instance type.
|
The instance_type_id field is deprecated and will be removed in a future release.
|
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.
|
9 |
Optional: The CPU field contains the CPU’s configuration, including sockets, cores, and threads. |
10 |
Optional: Specify the number of sockets for a VM. |
11 |
Optional: Specify the number of cores per socket. |
12 |
Optional: Specify the number of threads per core. |
13 |
Optional: Specify the size of a VM’s memory in MiB. |
14 |
Optional: Root disk of the node. |
15 |
Optional: Specify the size of the bootable disk in GiB. |
16 |
Optional: List of the network interfaces of the VM. If you include this parameter, OKD discards all network interfaces from the template and creates new ones. |
17 |
Optional: Specify the vNIC profile ID. |
18 |
Specify the name of the secret that holds the oVirt credentials. |
19 |
Optional: Specify the workload type for which the instance is optimized. This value affects the oVirt 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 Configuring High Performance Virtual Machines, Templates, and Pools in the Virtual Machine Management Guide. |
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 Setting NUMA Nodes in the Virtual Machine Management Guide. |
21 |
Optional: Hugepages is the size in KiB for defining hugepages in a VM. Supported values: 2048 or 1048576 . For more information, see Configuring Huge Pages in the Virtual Machine Management Guide. |
22 |
Optional: A list of affinity group names that should be applied to the VMs. The affinity groups must exist in oVirt. |