YandexClusterConfiguration

Version: deckhouse.io/v1

  • apiVersion (string)

    Allowed values: deckhouse.io/v1, deckhouse.io/v1alpha1

    Required value.

  • dhcpOptions (object)

    A list of DHCP parameters to use for all subnets.

    Note that setting dhcpOptions may lead to problems.

    • domainName (string)

      The name of the search domain.

    • domainNameServers (array of strings)

      A list of recursive DNS addresses.

      Pattern: ^[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$

  • existingNetworkID (string)

    The ID of the existing VPC Network.

  • kind (string)

    Allowed values: YandexClusterConfiguration

    Required value.

  • labels (object)

    Labels to attach to resources created in the Yandex.Cloud.

    Note that you have to re-create all the machines to add new labels if labels were modified in the running cluster.

  • layout (string)

    The way resources are located in the cloud.

    Read more about possible provider layouts.

    Allowed values: Standard, WithoutNAT, WithNATInstance

    Required value.

  • masterNodeGroup (object)

    The definition of the master’s NodeGroup.

    Required value.

    • instanceClass (object)

      Partial contents of the fields of the YandexInstanceClass.

      Required value.

      • additionalLabels (object)

        Additional labels.

        Example:

        project: cms-production
        severity: critical
        
      • coreFraction (integer)

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

        Default: 100

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

        Example: 20

      • cores (integer)

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

        Required value.

      • diskSizeGB (integer)

        Yandex Compute Instance disk size in gigabytes.

        Default: 50

        Example: 20

      • externalIPAddresses (array of strings)

        A list of external addresses. The number of array elements must correspond to the number of replicas.

        If externalSubnetID is not set, you have to use either reserved public IP addresses or the Auto constant.

        If externalSubnetID is set, you must select specific unallocated IP addresses from the specified subnet.

        Pattern: ^([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3})|(Auto)$

      • externalSubnetID (string) DEPRECATED!

        If specified, an additional network interface will be added to the node (the latter will use it as a default route).

      • externalSubnetIDs (array of strings)

        If specified, an additional network interface will be added to the node (the latter will use it as a default route).

        Also, a route for the node’s internal interface will be added (it will cover the entire nodeNetworkCIDR subnet).

        The number of array elements must correspond to the number of replicas.

      • imageID (string)

        Image ID to use while provisioning Yandex Compute Instances.

        Example: "fd8nb7ecsbvj76dfaa8b"

        Required value.

      • memory (integer)

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

        Example: 8192

        Required value.

      • networkType (string)

        Network type.

        Default: "Standard"

        Allowed values: Standard, SoftwareAccelerated

    • replicas (integer)

      The number of master nodes to create.

      Allowed values: 1 <= X

      Required value.

    • zones (array)

      A limited set of zones in which nodes can be created.

      Not required value.

      Allowed values of the array: ru-central1-a, ru-central1-b, ru-central1-c

  • nodeGroups (array of objects)

    An array of additional NodeGroups for creating static nodes (e.g., for dedicated front nodes or gateways).

    • instanceClass (object)

      Partial contents of the fields of the YandexInstanceClass.

      Required value.

      • additionalLabels (object)

        Additional labels.

        Example:

        project: cms-production
        severity: critical
        
      • coreFraction (integer)

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

        Default: 100

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

        Example: 20

      • cores (integer)

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

        Required value.

      • diskSizeGB (integer)

        Yandex Compute Instance disk size in gigabytes.

        Default: 50

        Example: 20

      • externalIPAddresses (array of strings)

        A list of external addresses. The number of array elements must correspond to the number of replicas.

        If externalSubnetID is not set, you have to use either reserved public IP addresses or the Auto constant.

        If externalSubnetID is set, you must select specific unallocated IP addresses from the specified subnet.

        Pattern: ^([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3})|(Auto)$

      • externalSubnetID (string) DEPRECATED!

        If specified, an additional network interface will be added to the node (the latter will use it as a default route).

      • externalSubnetIDs (array of strings)

        If specified, an additional network interface will be added to the node (the latter will use it as a default route).

        Also, a route for the node’s internal interface will be added (it will cover the entire nodeNetworkCIDR subnet).

        The number of array elements must correspond to the number of replicas.

      • imageID (string)

        Image ID to use while provisioning Yandex Compute Instances.

        Example: "fd8nb7ecsbvj76dfaa8b"

        Required value.

      • memory (integer)

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

        Example: 8192

        Required value.

      • networkType (string)

        Network type.

        Default: "Standard"

        Allowed values: Standard, SoftwareAccelerated

    • name (string)

      The name of the NodeGroup to use for generating node names.

      Required value.

    • nodeTemplate

      Parameters of Node objects in Kubernetes to add after registering the node.

      • annotations (object)

        The same as the metadata.annotations standard field.

        Example:

        annotations:
          ai.fleet.com/discombobulate: "true"
        
      • labels (object)

        A list of labels to attach to cluster resources.

        The same as the metadata.labels standard field.

        Note that you have to re-create all the machines to add new tags if tags were modified in the running cluster.

        Format — key: value.

        Example:

        labels:
          environment: production
          app: warp-drive-ai
        
      • taints (array of objects)

        The same as the .spec.taints field of the Node object.

        Caution! Only the effect, key, values fields are available.

        Example:

        taints:
        - effect: NoExecute
          key: ship-class
          value: frigate
        
        • effect (string)

          Allowed values: NoSchedule, PreferNoSchedule, NoExecute

        • key (string)
        • value (string)
    • replicas (integer)

      The number of nodes to create.

      Required value.

    • zones (array)

      A limited set of zones in which nodes can be created.

      Allowed values of the array: ru-central1-a, ru-central1-b, ru-central1-c

  • nodeNetworkCIDR (string)

    This subnet will be split into three equal parts.

    They will serve as a basis for subnets in three Yandex.Cloud zones.

    Pattern: ^[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}/[0-9]{1,2}$

    Required value.

  • provider (object)

    Contains settings to connect to the Yandex.Cloud API.

    Required value.

    • cloudID (string)

      The cloud ID.

      Required value.

    • folderID (string)

      ID of the directory.

      Required value.

    • serviceAccountJSON (string)

      A JSON key generated by yc iam key create (formatted as a single line).

      Required value.

  • sshPublicKey (string)

    A public key for accessing nodes.

    Required value.

  • withNATInstance (object)

    Settings for the WithNATInstance layout.

    • externalSubnetID (string)

      If specified, an additional network interface will be added to the node (the node will use it as a default route).

    • internalSubnetID (string)

      ID of a subnet for the internal interface.

    • natInstanceExternalAddress (string)

      A reserved external IP address (or externalSubnetID address if specified).

      Pattern: ^[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$

    • natInstanceInternalAddress (string) DEPRECATED!

      Consider using automatically generated address instead.

      Pattern: ^[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$

  • zones (array)

    The globally restricted set of zones that this Cloud Provider works with.

    Allowed values of the array: ru-central1-a, ru-central1-b, ru-central1-c