The Deckhouse Platform installs CRDs but does not remove them when a module is disabled. If you no longer need the created CRDs, delete them.
The module lifecycle stage: General Availability
YandexInstanceClass
Scope: Cluster
- v1
- v1alpha1
- objectmetadata
- objectspec
Required value
YandexInstanceClassSpec defines the desired state of the YandexInstanceClass.
- objectspec.additionalLabels
Additional labels to be attached to the Yandex Compute Instance resource.
Example:
additionalLabels: "{project: cms-production, severity: critical}" - array of stringsspec.additionalSubnets
Subnet IDs that VirtualMachines’ secondary NICs will connect to.
For
CloudEphemeralnodes, every subnet in the list is attached as a separate network interface.For
CloudPermanentnodes, a single subnet is selected from the list by the node index, so the list must contain at least as many subnets as there are nodes in the group.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.
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-hdd"Allowed values:
network-ssd,network-hdd,network-ssd-nonreplicated,network-ssd-io-m3Example:
diskType: network-hdd - integerspec.etcdDiskSizeGB
Disk size for etcd is set only for InstanceClass intended for master NodeGroup. The value is specified in
GiB.Example:
etcdDiskSizeGB: '20' - 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.
If the parameter is not set, the image of the instance class of the
masternode group is used. In a cluster that has not been migrated to the ModuleConfig settings, themasterNodeGroup.instanceClass.imageIDparameter of the YandexClusterConfiguration resource is used instead.Example:
imageID: fd83ica41cade1mj35sr - stringspec.mainSubnet
Subnet ID that VirtualMachines’ primary NIC will connect to.
If the parameter is not specified, Deckhouse Platform selects the network. When the
existingZoneToSubnetIDMapparameter is set, the network is taken from it, otherwise the network created during the cluster deployment 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
- objectstatus
YandexInstanceClassStatus stores information about the YandexInstanceClass resource.
- array of stringsstatus.nodeGroupConsumers
NodeGroupConsumers lists the names of NodeGroups that use this instance class.
- objectmetadata
- objectspec
Required value
InstanceClassSpec defines the desired state of the YandexInstanceClass.
- objectspec.additionalLabels
Additional labels to be attached to the Yandex Compute Instance resource.
Example:
additionalLabels: "{project: cms-production, severity: critical}" - array of stringsspec.additionalSubnets
Subnet IDs that VirtualMachines’ secondary NICs will connect to.
For
CloudEphemeralnodes, every subnet in the list is attached as a separate network interface.For
CloudPermanentnodes, a single subnet is selected from the list by the node index, so the list must contain at least as many subnets as there are nodes in the group.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.
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-hdd"Allowed 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.
If the parameter is not set, the image of the instance class of the
masternode group is used. In a cluster that has not been migrated to the ModuleConfig settings, themasterNodeGroup.instanceClass.imageIDparameter of the YandexClusterConfiguration resource is used instead.Example:
imageID: fd83ica41cade1mj35sr - stringspec.mainSubnet
Subnet ID that VirtualMachines’ primary NIC will connect to.
If the parameter is not specified, Deckhouse Platform selects the network. When the
existingZoneToSubnetIDMapparameter is set, the network is taken from it, otherwise the network created during the cluster deployment 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