VsphereInstanceClass
Scope: Cluster
Parameters of a group of vSphere VirtualMachines used by machine-controller-manager
(the node-manager module).
The CloudInstanceClass
resource of the node-manager
module refers to this resource.
- specobject
Required value
- spec.additionalNetworksarray of strings
Paths to networks that VirtualMachines’ secondary NICs will connect to. Relative to the datacenter.
Example:
additionalNetworks: - DEVOPS_32 - DEVOPS_50
- spec.datastorestring
Path to a Datastore in which VirtualMachines will be cloned. Relative to the datacenter.
By default, a datastore from the
master
InstanceClass is used.Example:
datastore: lun-1201
- spec.disableTimesyncboolean
Disable time synchronization in Guest VM.
Note: this won’t disable any NTP daemons running on the guest OS, it only disables time synchronization from ESXi.
Default:
true
- spec.mainNetworkstring
Required value
Path to the network that VirtualMachines’ primary NICs will connect to (default gateway). Relative to the datacenter.
Example:
mainNetwork: k8s-msk-178
- spec.memoryinteger
Required value
Memory in MiB to allocate to vSphere VirtualMachines.
Example:
memory: 8192
- spec.numCPUsinteger
Required value
Count of vCPUs to allocate to vSphere VirtualMachines.
Example:
numCPUs: 2
- spec.resourcePoolstring
Path to a Resource Pool in which VirtualMachines will be cloned. Relative to the zone (vSphere Cluster).
By default, the value from
VsphereCloudDiscoveryData
is used.Example:
resourcePool: rp-2012
- spec.rootDiskSizeinteger
Root disk size in GiB to use in vSphere VirtualMachines.
The disk will be automatically enlarged if its size in the template is less than specified.
Default:
20
Example:
rootDiskSize: 20
- spec.runtimeOptionsobject
Additional VM’s parameters.
- spec.runtimeOptions.cpuLimitinteger
CPU limit in MHz.
- spec.runtimeOptions.cpuReservationinteger
CPU reservation in MHz.
- integer
The relative amount of CPU Shares for VMs to be created.
- spec.runtimeOptions.memoryLimitinteger
Memory limit in MB.
- spec.runtimeOptions.memoryReservationinteger
VM memory reservation in percent (relative to
.spec.memory
).Default:
80
Allowed values:
0 <= X <= 100
- integer
The relative amount of Memory Shares for VMs to be created.
Allowed values:
0 <= X <= 100
- spec.runtimeOptions.nestedHardwareVirtualizationboolean
Whether to enable or disable nested hardware virtualization.
- spec.runtimeOptions.cpuLimitinteger
- spec.templatestring
Path to the template to be cloned. Relative to the datacenter.
By default, a template from the
master
InstanceClass is used.Example:
template: dev/golden_image
- spec.additionalNetworksarray of strings
Parameters of a group of vSphere VirtualMachines used by machine-controller-manager
(the node-manager module).
The CloudInstanceClass
resource of the node-manager
module refers to this resource.
- specobject
Required value
- spec.additionalNetworksarray of strings
Paths to networks that VirtualMachines’ secondary NICs will connect to. Relative to the datacenter.
Example:
additionalNetworks: - DEVOPS_32 - DEVOPS_50
- spec.datastorestring
Path to a Datastore in which VirtualMachines will be cloned. Relative to the datacenter.
By default, a datastore from the
master
InstanceClass is used.Example:
datastore: lun-1201
- spec.disableTimesyncboolean
Disable time synchronization in Guest VM.
Note: this won’t disable any NTP daemons running on the guest OS, it only disables time synchronization from ESXi.
Default:
true
- spec.mainNetworkstring
Required value
Path to the network that VirtualMachines’ primary NICs will connect to (default gateway). Relative to the datacenter.
Example:
mainNetwork: k8s-msk-178
- spec.memoryinteger
Required value
Memory in MiB to allocate to vSphere VirtualMachines.
Example:
memory: 8192
- spec.numCPUsinteger
Required value
Count of vCPUs to allocate to vSphere VirtualMachines.
Example:
numCPUs: 2
- spec.resourcePoolstring
Path to a Resource Pool in which VirtualMachines will be cloned. Relative to the zone (vSphere Cluster).
By default, the value from
VsphereCloudDiscoveryData
is used.Example:
resourcePool: rp-2012
- spec.rootDiskSizeinteger
Root disk size in GiB to use in vSphere VirtualMachines.
The disk will be automatically enlarged if its size in the template is less than specified.
Default:
20
Example:
rootDiskSize: 20
- spec.runtimeOptionsobject
Additional VM’s parameters.
- spec.runtimeOptions.cpuLimitinteger
CPU limit in MHz.
- spec.runtimeOptions.cpuReservationinteger
CPU reservation in MHz.
- integer
The relative amount of CPU Shares for VMs to be created.
- spec.runtimeOptions.memoryLimitinteger
Memory limit in MB.
- spec.runtimeOptions.memoryReservationinteger
VM memory reservation in percent (relative to
.spec.memory
).Default:
80
Allowed values:
0 <= X <= 100
- integer
The relative amount of Memory Shares for VMs to be created.
Allowed values:
0 <= X <= 100
- spec.runtimeOptions.nestedHardwareVirtualizationboolean
Whether to enable or disable nested hardware virtualization.
- spec.runtimeOptions.cpuLimitinteger
- spec.templatestring
Path to the template to be cloned. Relative to the datacenter.
By default, a template from the
master
InstanceClass is used.Example:
template: dev/golden_image
- spec.additionalNetworksarray of strings