InfraMachineTemplate
Overview
InfraMachineTemplate—virtual machine parameters template for a group of nodes. The specific type depends on the infrastructure provider (vSphere, oVirt, OpenStack, etc.). When a group is created or modified, the Cluster API creates InfraMachine instances based on the template.
Where to configure: Node Management → Group Configuration → InfraMachineTemplate or Administration tab → Custom Resources (API infrastructure.cluster.x-k8s.io).
Note: changing the InfraMachineTemplate in an existing group causes re-creation of nodes.
A summary table of infrastructure.cluster.x-k8s.io resources for supplied providers is in the Custom node life cycle resources section.
OVirtMachineTemplate
Provider for oVirt. API: infrastructure.cluster.x-k8s.io/v1beta1, kind: OVirtMachineTemplate.
| Parameter | Description |
|---|---|
| CPU: cores | Number of processor cores |
| CPU: sockets | Number of sockets |
| CPU: threads | Number of threads per core |
| sizemb | RAM capacity, MB |
| osdisksizegb | System disk size, GB |
| vnicprofile | Virtual Network Interface Profile |
| ovirtcluster | oVirt cluster for hosting VMs |
| storagedomain | The name of the storage domain in which the virtual machine disks will be created. By default, the disks will be created in the same storage domain as the VM template. If you specify Storage Domain, you will need to enable featureGates.disk-clone |
| template | VM template (OS image). One OS per cluster is recommended. |
Screenshot: OVirtMachineTemplate

VSphereMachineTemplate
Provider for VMware vSphere. API: infrastructure.cluster.x-k8s.io/v1beta1, kind: VSphereMachineTemplate.
| Parameter | Description |
|---|---|
| datacenter | vSphere Data Center (drop-down list) |
| datastore | Datastore for VM disks |
| diskGiB | System disk size, GB |
| memoryMiB | RAM capacity, MB |
| folder | Folder (path) for creating a VM |
| numCPUs | Number of CPU cores |
| networkName | Network name (port group) |
| resourcePool | Resource Pool |
| template | VM template (OS image). One OS per cluster is recommended. |
Screenshot: VSphereMachineTemplate

OpenStackMachineTemplate
Provider for OpenStack. API: infrastructure.cluster.x-k8s.io/v1beta6, kind: OpenStackMachineTemplate.
| Parameter | Description |
|---|---|
| cloudName | Cloud name in clouds.yaml |
| flavor | VM type (flavor) - determines CPU and RAM |
| sshKeyName | SSH key name for accessing the VM |
| volumeType | Disk volume type (if using Cinder) |
| Disk capacity, GB | System disk size |
| template | VM template (image). One OS per cluster is recommended. |
Note: The availabilityZone is set when creating a cluster and is only available for viewing in the template.
Screenshot: OpenStackMachineTemplate

BasisMachineTemplate
Provider for Basis Dynamix. API: infrastructure.cluster.x-k8s.io/v1beta1, kind: BasisMachineTemplate.
| Parameter | Description |
|---|---|
| Number of cores | CPU |
| RAM volume, MB | Memory |
| Disk capacity, GB | Disk size |
| Resource Group | Resource Group in Basis |
| VINSName | Virtual network |
| ExtNetName | External network |
Screenshot: BasisMachineTemplate

ShturvalMachineTemplate
Provider for Shturval v2 (bare metal / hosts). API: infrastructure.cluster.x-k8s.io/v1beta1, kind: ShturvalMachineTemplate.
Basic mode
Selection of host role—when scaling, only free hosts with the selected role are joined. In the block Potentially availablee hosts matches the hosts displayed.
Advanced settings
Selector by labels and expressions for selecting hosts:
| Operator | Description |
|---|---|
| In | Hosts with matching key and value |
| NotIn | Exclude hosts with key and value |
| Exists | Hosts with the specified key (no value required) |
| DoesNotExist | Hosts without the specified key |
Note: if a label for hosts is selected in one group, it must be excluded in other groups: key = the same, operator = NotIn, value = selected in another group.
Screenshot: ShturvalMachineTemplate (basic mode)

Screenshot: advanced settings

YandexMachineTemplate
Provider for Yandex Cloud. API: infrastructure.cluster.x-k8s.io/v1beta1, kind: YandexMachineTemplate.
| Parameter | Description |
|---|---|
| Platform Type | VM platform (standard-v3, etc.) |
| Disk Type | ssd, hdd |
| RAM capacity | Gi or Mi |
| Disk capacity | Gi or Mi |
| cpuCores | Number of cores |
| template | VM template (image) |
Screenshot: YandexMachineTemplate

VCDMachineTemplate
Provider for VMware vCloud Director. API: infrastructure.cluster.x-k8s.io/v1beta1, kind: VCDMachineTemplate.
| Parameter | Description |
|---|---|
| DiskSize | Drive size (Gi or Mi) |
| SizingPolicy | Resource management policy (CPU, RAM) from the catalog |
| template | VM template |
View only: catalog (image catalog), network (node subnet).
Screenshot: VCDMachineTemplate
