This feature is available in Enterprise Edition only.

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

    • additionalNetworksarray of strings

      Paths to networks that VirtualMachines’ secondary NICs will connect to. Relative to the datacenter.

      Example:

      additionalNetworks:
      - DEVOPS_32
      - DEVOPS_50
      
    • datastorestring

      Path to a datastore in which VirtualMachines will be cloned. Relative to the datacenter.

      Example:

      datastore: lun-1201
      
    • 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.

    • 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
      
    • memoryinteger

      Required value

      Memory in MiB to allocate to vSphere VirtualMachines.

      Example:

      memory: 8192
      
    • numCPUsinteger

      Required value

      Count of vCPUs to allocate to vSphere VirtualMachines.

      Example:

      numCPUs: 2
      
    • resourcePoolstring

      Path to a Resource Pool in which VirtualMachines will be cloned. Relative to the zone (vSphere Cluster).

      Example:

      resourcePool: rp-2012
      
    • 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.

      Example:

      rootDiskSize: 20
      
    • runtimeOptionsobject

      Additional VM’s parameters.

      • cpuLimitinteger

        CPU limit in MHz.

      • cpuReservationinteger

        CPU reservation in MHz.

      • cpuSharesinteger

        The relative amount of CPU Shares for VMs to be created.

        By default: 1000 per vCPU.

      • memoryLimitinteger

        Memory limit in MB.

      • memoryReservationinteger

        VM memory reservation in percent (relative to .spec.memory).

        Default: 80

        Allowed values: 0 <= X <= 100

      • memorySharesinteger

        The relative amount of Memory Shares for VMs to be created.

        By default: 10 shares per megabyte.

        Allowed values: 0 <= X <= 100

      • nestedHardwareVirtualizationboolean

        Whether to enable or disable nested hardware virtualization.

    • templatestring

      Path to the template to be cloned. Relative to the datacenter.

      Example:

      template: dev/golden_image
      

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

    • additionalNetworksarray of strings

      Paths to networks that VirtualMachines’ secondary NICs will connect to. Relative to the datacenter.

      Example:

      additionalNetworks:
      - DEVOPS_32
      - DEVOPS_50
      
    • datastorestring

      Path to a datastore in which VirtualMachines will be cloned. Relative to the datacenter.

      Example:

      datastore: lun-1201
      
    • 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.

    • 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
      
    • memoryinteger

      Required value

      Memory in MiB to allocate to vSphere VirtualMachines.

      Example:

      memory: 8192
      
    • numCPUsinteger

      Required value

      Count of vCPUs to allocate to vSphere VirtualMachines.

      Example:

      numCPUs: 2
      
    • resourcePoolstring

      Path to a Resource Pool in which VirtualMachines will be cloned. Relative to the zone (vSphere Cluster).

      Example:

      resourcePool: rp-2012
      
    • 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.

      Example:

      rootDiskSize: 20
      
    • runtimeOptionsobject

      Additional VM’s parameters.

      • cpuLimitinteger

        CPU limit in MHz.

      • cpuReservationinteger

        CPU reservation in MHz.

      • cpuSharesinteger

        The relative amount of CPU Shares for VMs to be created.

        By default: 1000 per vCPU.

      • memoryLimitinteger

        Memory limit in MB.

      • memoryReservationinteger

        VM memory reservation in percent (relative to .spec.memory).

        Default: 80

        Allowed values: 0 <= X <= 100

      • memorySharesinteger

        The relative amount of Memory Shares for VMs to be created.

        By default: 10 shares per megabyte.

        Allowed values: 0 <= X <= 100

      • nestedHardwareVirtualizationboolean

        Whether to enable or disable nested hardware virtualization.

    • templatestring

      Path to the template to be cloned. Relative to the datacenter.

      Example:

      template: dev/golden_image