YandexInstanceClass

Scope: Cluster

Parameters of a group of Yandex Instances used by machine-controller-manager (the node-manager module).

The CloudInstanceClass resource of the node-manager module refers to this resource.

  • specobject

    Required value

    • additionalLabelsobject

      Additional labels.

      Example:

      project: cms-production
      severity: critical
      
    • additionalSubnetsarray of strings

      Subnet IDs that VirtualMachines’ secondary NICs will connect to. Each subnet listed here translates into one additional network interface.

      Example:

      additionalSubnets:
      - b0csh41c1or82vuch89v
      - e2lgddi5svochh5fbq96
      
    • assignPublicIPAddressboolean

      Should a public external IPv4 address be assigned to a provisioned Yandex Compute Instance.

      Default: false

      Example:

      assignPublicIPAddress: false
      
    • coreFractioninteger

      Percent of reserved CPU capacity on a Yandex Compute Instance. Details…

      Default: 100

      Allowed values: 0, 5, 20, 50, 100

      Example:

      coreFraction: 20
      
    • coresinteger

      Required value

      Amount of CPU cores to provision on a Yandex Compute Instance.

      Example:

      cores: 4
      
    • diskSizeGBinteger

      Yandex Compute Instance disk size in gigabytes.

      Default: 50

      Example:

      diskSizeGB: 20
      
    • diskTypestring

      Instance disk type.

      Default: "network-ssd"

      Allowed values: network-ssd, network-hdd, network-ssd-nonreplicated

      Example:

      diskType: network-hdd
      
    • gpusinteger

      Number of GPUs on a Yandex Compute Instance.

      Default: 0

      Example:

      gpus: 4
      
    • imageIDstring

      Image ID to use while provisioning Yandex Compute Instances.

      masterInstanceClass image from providerClusterConfiguration will be used by default.

      Example:

      imageID: fd8nb7ecsbvj76dfaa8b
      
    • mainSubnetstring

      Subnet ID that VirtualMachines’ primary NIC will connect to.

      Default: "subnet from `zoneToSubnetIdMap` Deckhouse config."

      Example:

      mainSubnet: e9bnc7g9mu9mper9clk4
      
    • memoryinteger

      Required value

      Amount of primary memory in MB provision on a Yandex Compute Instance.

      Example:

      memory: 8192
      
    • networkTypestring

      Network type: Standard or SoftwareAccelerated

      Default: "Standard"

      Allowed values: Standard, SoftwareAccelerated

    • platformIDstring

      Default: "standard-v2"

    • preemptibleboolean

      Should a provisioned Yandex Compute Instance be preemtible.

      Default: false

Parameters of a group of Yandex Instances used by machine-controller-manager (the node-manager module).

The CloudInstanceClass resource of the node-manager module refers to this resource.

  • specobject

    Required value

    • additionalLabelsobject

      Additional labels.

      Example:

      project: cms-production
      severity: critical
      
    • additionalSubnetsarray of strings

      Subnet IDs that VirtualMachines’ secondary NICs will connect to. Each subnet listed here translates into one additional network interface.

      Example:

      additionalSubnets:
      - b0csh41c1or82vuch89v
      - e2lgddi5svochh5fbq96
      
    • assignPublicIPAddressboolean

      Should a public external IPv4 address be assigned to a provisioned Yandex Compute Instance.

      Default: false

      Example:

      assignPublicIPAddress: false
      
    • coreFractioninteger

      Percent of reserved CPU capacity on a Yandex Compute Instance. Details…

      Default: 100

      Allowed values: 0, 5, 20, 50, 100

      Example:

      coreFraction: 20
      
    • coresinteger

      Required value

      Amount of CPU cores to provision on a Yandex Compute Instance.

      Example:

      cores: 4
      
    • diskSizeGBinteger

      Yandex Compute Instance disk size in gigabytes.

      Default: 50

      Example:

      diskSizeGB: 20
      
    • diskTypestring

      Instance disk type.

      Default: "network-ssd"

      Allowed values: network-ssd, network-hdd, network-ssd-nonreplicated

      Example:

      diskType: network-hdd
      
    • gpusinteger

      Number of GPUs on a Yandex Compute Instance.

      Default: 0

      Example:

      gpus: 4
      
    • imageIDstring

      Image ID to use while provisioning Yandex Compute Instances.

      masterInstanceClass image from providerClusterConfiguration will be used by default.

      Example:

      imageID: fd8nb7ecsbvj76dfaa8b
      
    • mainSubnetstring

      Subnet ID that VirtualMachines’ primary NIC will connect to.

      Default: "subnet from `zoneToSubnetIdMap` Deckhouse config."

      Example:

      mainSubnet: e9bnc7g9mu9mper9clk4
      
    • memoryinteger

      Required value

      Amount of primary memory in MB provision on a Yandex Compute Instance.

      Example:

      memory: 8192
      
    • networkTypestring

      Network type: STANDARD or SOFTWARE_ACCELERATED

      Default: "STANDARD"

      Allowed values: STANDARD, SOFTWARE_ACCELERATED

    • platformIDstring

      Default: "standard-v2"

    • preemptibleboolean

      Should a provisioned Yandex Compute Instance be preemtible.

      Default: false