YandexInstanceClass
Scope: Cluster
Parameters of a group of Yandex Instances used by machine-controller-manager (the node-manager module).
The NodeGroup resource of the node-manager module refers to this resource.
- objectspec
Required value
- objectspec.additionalLabels
Additional labels.
Example:
additionalLabels: project: cms-production severity: critical - array of stringsspec.additionalSubnets
Subnet IDs that VirtualMachines’ secondary NICs will connect to. Each subnet listed here translates into one additional network interface.
Example:
additionalSubnets: - b0csh41c1or82vuch89v - e2lgddi5svochh5fbq96 - booleanspec.assignPublicIPAddress
Should a public external IPv4 address be assigned to a provisioned Yandex Compute Instance.
Default:
falseExample:
assignPublicIPAddress: false - integerspec.coreFraction
Percent of reserved CPU capacity on a Yandex Compute Instance. Details…
Default:
100Allowed values:
5,20,50,100Example:
coreFraction: 20 - integerspec.cores
Required value
Amount of CPU cores to provision on a Yandex Compute Instance.
Example:
cores: 4 - integerspec.diskSizeGB
Yandex Compute Instance disk size in gibibytes.
Default:
50Example:
diskSizeGB: 20 - stringspec.diskType
Instance disk type.
Size of
network-ssd-nonreplicatedandnetwork-ssd-io-m3disks must be a multiple of 93 GB.Default:
network-hddAllowed values:
network-ssd,network-hdd,network-ssd-nonreplicated,network-ssd-io-m3Example:
diskType: network-hdd - integerspec.gpus
Number of GPUs on a Yandex Compute Instance.
Default:
0Example:
gpus: 4 - stringspec.imageID
Image ID to use while provisioning Yandex Compute Instances.
The masterNodeGroup.instanceClass.imageID parameter will be used by default.
Example:
imageID: fd85m9q2qspfnsv055rh - stringspec.mainSubnet
Subnet ID that VirtualMachines’ primary NIC will connect to.
If the parameter is not specified, the main network is determined automatically according to the following logic: if a list of networks is set in the existingZoneToSubnetIDMap parameter, then the network is selected from the specified list; otherwise, the created Deckhouse network is used.
Example:
mainSubnet: e9bnc7g9mu9mper9clk4 - integerspec.memory
Required value
Amount of primary memory in MB provision on a Yandex Compute Instance.
Example:
memory: 8192 - stringspec.networkType
Network type:
StandardorSoftwareAccelerated.Default:
StandardAllowed values:
Standard,SoftwareAccelerated - booleanspec.preemptible
Should a provisioned Yandex Compute Instance be preemptible.
For more information about preemptible virtual machines, read the provider’s documentation.
Default:
false
Parameters of a group of Yandex Instances used by machine-controller-manager (the node-manager module).
The NodeGroup resource of the node-manager module refers to this resource.
- objectspec
Required value
- objectspec.additionalLabels
Additional labels.
Example:
additionalLabels: project: cms-production severity: critical - array of stringsspec.additionalSubnets
Subnet IDs that VirtualMachines’ secondary NICs will connect to. Each subnet listed here translates into one additional network interface.
Example:
additionalSubnets: - b0csh41c1or82vuch89v - e2lgddi5svochh5fbq96 - booleanspec.assignPublicIPAddress
Should a public external IPv4 address be assigned to a provisioned Yandex Compute Instance.
Default:
falseExample:
assignPublicIPAddress: false - integerspec.coreFraction
Percent of reserved CPU capacity on a Yandex Compute Instance. Details…
Default:
100Allowed values:
5,20,50,100Example:
coreFraction: 20 - integerspec.cores
Required value
Amount of CPU cores to provision on a Yandex Compute Instance.
Example:
cores: 4 - integerspec.diskSizeGB
Yandex Compute Instance disk size in gibibytes.
Default:
20Example:
diskSizeGB: 50 - stringspec.diskType
Instance disk type.
Size of
network-ssd-nonreplicatedandnetwork-ssd-io-m3disks must be a multiple of 93 GB.For more information about possible disk types, read the provider’s documentation.
Default:
network-hddAllowed values:
network-ssd,network-hdd,network-ssd-nonreplicatedExample:
diskType: network-hdd - integerspec.gpus
Number of GPUs on a Yandex Compute Instance.
Default:
0Example:
gpus: 4 - stringspec.imageID
Image ID to use while provisioning Yandex Compute Instances.
The masterNodeGroup.instanceClass.imageID parameter will be used by default.
Example:
imageID: fd85m9q2qspfnsv055rh - stringspec.mainSubnet
Subnet ID that VirtualMachines’ primary NIC will connect to.
If the parameter is not specified, the main network is determined automatically according to the following logic: if a list of networks is set in the existingZoneToSubnetIDMap parameter, then the network is selected from the specified list; otherwise, the created Deckhouse network is used.
Example:
mainSubnet: e9bnc7g9mu9mper9clk4 - integerspec.memory
Required value
Amount of primary memory in MB provision on a Yandex Compute Instance.
Example:
memory: 8192 - stringspec.networkType
Network type: STANDARD or SOFTWARE_ACCELERATED
Default:
STANDARDAllowed values:
STANDARD,SOFTWARE_ACCELERATED - booleanspec.preemptible
Should a provisioned Yandex Compute Instance be preemptible.
For more information about preemptible virtual machines, read the provider’s documentation.
Default:
false