InfraMachineTemplate

On the InfraMachineTemplate tab, you have the option to change the infrastructure template settings by manually applying new values or copying values from another existing template. This will create a new infrastructure template. Depending on the type of provider, the resource is created:

-OVirtMachineTemplate;

More detailed settings for infrastructure templates can be configured in the management cluster in the Administration/Custom Resources section using a custom resource of the corresponding provider in the infrastructure.cluster.x-k8s.io API group.

Screenshot

crdsinfa

OVirtMachineTemplate

For OVirtMachineTemplate parameters available for configuration:

  • CPU:
    • cores
    • sockets
    • threads
  • RAM volume, MB (sizemb)
  • Disk capacity, GB (osdisksizegb)
  • vnicprofile
  • ovirtcluster
  • VM template (template): VM templates of the provider instance on which the cluster is deployed are available. For more on creating a VM template, see Creating a VM template.
Screenshot

capovinfratemplatetab

VSphereMachineTemplate

For VSphereMachineTemplate parameters available for configuration:

  • datacenter (drop-down list of all data centers available for the service account of the provider instance)
  • datastore (drop-down list of all datastores available for the service account of the provider instance)
  • Disk capacity, GB (diskGiB)
  • RAM volume, MB (memoryMiB)
  • Folder (path to the place where the VM was created)
  • Number of cores (numCPUs)
  • Network name (networkName)
  • Resource pool (resourcePool)
  • VM template (template): VM templates of the provider instance on which the cluster is deployed are available. For more on creating a VM template, see Creating a VM template.
Screenshot

vsinfratemplatetab

OpenStackMachineTemplate

For OpenStackMachineTemplate parameters available for configuration:

  • cloudName
  • flavor (VM types)
  • sshKeyName
  • volumeType
  • Disk capacity, GB
  • VM template (template): VM templates of the provider instance on which the cluster is deployed are available.

The availability zone setting in OpenStackMachineTemplate is view-only. The VM template contains an availability zone if it was specified in the Control Plane configuration of the nodes at the cluster creation stage. For more on creating a VM template, see Creating a VM template.

Screenshot

osinfratemplate2

BasisMachineTemplate

For BasisMachineTemplate available parameters:

  • Number of cores;
  • RAM volume, MB;
  • Disk capacity, GB;
  • Resource group;
  • VINS name;
  • Name ExtNet.
Screenshot

bdinfratemplate

ShturvalMachineTemplate

For ShturvalMachineTemplate configuration options are available in basic mode and advanced mode. By default, Basic mode is enabled.

In Basic mode, select a hosts role to determine that only hosts with the selected role join when scaling a group of nodes. After selecting a role, the Potentially available hosts block will display available hosts with the specified role.

Screenshot

imtbase

To enable the advanced settings mode, move the Show advanced settings toggle switch to the active state. When switching from advanced settings mode to basic mode, the changes will be lost.

In advanced settings you can set matching labels and expressions to determine the available hosts to join when scaling a group of nodes:

  • when adding a host label, select the key in the window that opens. The value corresponding to the label key of the existing host in the Shturval v2 provider instance will be automatically set.
  • when adding a host label, select the key and operator in the window that opens. Available operators:
    • In - hosts with matching key and value will be selected. The value will be filled in automatically or offered for selection in accordance with the specified host label key, without the possibility of changing;
    • NotIn - hosts with the same key and value are not selected. The value will be filled in automatically or offered as a choice in accordance with the value of the specified label key, without the possibility of changing;
    • Exists - hosts with a matching key will be selected. No value is required;
    • DoesNotExist - hosts with a matching key are not selected. No value is required;

If you specify multiple matching expressions, available hosts matching all expressions will be displayed.

Screenshot

imtadvanced

Pay attention!

  • Changing the InfraMachineTemplate configuration will result in the re-creation of nodes.
  • Labels specified in the selector as matching in one node group must be specified in matching expressions as an exception in other node groups.

YandexMachineTemplate

For YandexMachineTemplate parameters available for configuration:

  • Platform type;
  • Disk type;
  • RAM volume. Available unit of measurement: Gi, Mi;
  • Disk volume. Available unit of measurement: Gi, Mi;
  • cpuCores;
  • VM template (template): VM templates of the provider instance on which the cluster is deployed are available. For more on creating a VM template, see Creating a VM template.
Screenshot

capycinfratemplatetab1

VCDMachineTemplate

For VCDMachineTemplate parameters available for configuration:

  • DiskSize. Select a unit of measurement and set the required value. You can set the disk size in Gi (selected by default) or Mi.
  • SizingPolicy. Select a resource management policy (CPU, RAM) from the available ones in the drop-down list.
  • template (VM template). For more on creating a VM template, see Creating a VM template.

The catalog (image catalog) and network (host subnet) fields are available for viewing.

Screenshot of group configuration

capvcdgroup