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.

  • spec (object)

    Required value.

    • additionalNetworks (array of strings)

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

      Example: "DEVOPS_32", "DEVOPS_50"

    • datastore (string)

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

      Example: "lun-1201"

    • disableTimesync (boolean)

      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.

    • mainNetwork (string)

      Path to the network that VirtualMachines’ primary NICs will connect to (default gateway). Relative to the datacenter.

      Example: "k8s-msk-178"

      Required value.

    • memory (integer)

      Memory in MiB to allocate to vSphere VirtualMachines.

      Example: 8192

      Required value.

    • numCPUs (integer)

      Count of vCPUs to allocate to vSphere VirtualMachines.

      Example: 2

      Required value.

    • resourcePool (string)

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

      Example: "rp-2012"

    • rootDiskSize (integer)

      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: 20

    • runtimeOptions (object)

      Additional VM’s parameters.

      • cpuLimit (integer)

        CPU limit in MHz.

      • cpuReservation (integer)

        CPU reservation in MHz.

      • cpuShares (integer)

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

        By default: 1000 per vCPU.

      • memoryLimit (integer)

        Memory limit in MB.

      • memoryReservation (integer)

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

        Default: 80

        Allowed values: 0 <= X <= 100

      • memoryShares (integer)

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

        By default: 10 shares per megabyte.

        Allowed values: 0 <= X <= 100

      • nestedHardwareVirtualization (boolean)

        Whether to enable or disable nested hardware virtualization.

    • template (string)

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

      Example: "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.

  • spec (object)

    Required value.

    • additionalNetworks (array of strings)

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

      Example: "DEVOPS_32", "DEVOPS_50"

    • datastore (string)

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

      Example: "lun-1201"

    • disableTimesync (boolean)

      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.

    • mainNetwork (string)

      Path to the network that VirtualMachines’ primary NICs will connect to (default gateway). Relative to the datacenter.

      Example: "k8s-msk-178"

      Required value.

    • memory (integer)

      Memory in MiB to allocate to vSphere VirtualMachines.

      Example: 8192

      Required value.

    • numCPUs (integer)

      Count of vCPUs to allocate to vSphere VirtualMachines.

      Example: 2

      Required value.

    • resourcePool (string)

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

      Example: "rp-2012"

    • rootDiskSize (integer)

      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: 20

    • runtimeOptions (object)

      Additional VM’s parameters.

      • cpuLimit (integer)

        CPU limit in MHz.

      • cpuReservation (integer)

        CPU reservation in MHz.

      • cpuShares (integer)

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

        By default: 1000 per vCPU.

      • memoryLimit (integer)

        Memory limit in MB.

      • memoryReservation (integer)

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

        Default: 80

        Allowed values: 0 <= X <= 100

      • memoryShares (integer)

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

        By default: 10 shares per megabyte.

        Allowed values: 0 <= X <= 100

      • nestedHardwareVirtualization (boolean)

        Whether to enable or disable nested hardware virtualization.

    • template (string)

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

      Example: "dev/golden_image"