Note! If the parameters provided below are changed, the existing Machines are NOT redeployed (new machines will be created with the updated parameters). Redeployment is only performed when NodeGroup and YandexInstanceClass are changed. Details in the node-manager module’s documentation.

The module has 3 alerts.

Storage

The module automatically creates StorageClasses covering all available disks in Yandex:

Type StorageClass Name Comment
network-hdd network-hdd  
network-ssd network-ssd  
network-ssd-nonreplicated network-ssd-nonreplicated  
network-ssd-io-m3 network-ssd-io-m3 Disk size must be a multiple of 93 GB.

You can filter out the unnecessary StorageClasses via the exclude parameter.

LoadBalancer

The module subscribes to Service objects of the LoadBalancer type and creates the corresponding NetworkLoadBalancer and TargetGroup in Yandex Cloud.

For more information, see the Kubernetes Cloud Controller Manager for Yandex Cloud documentation.

The module is configured using the ModuleConfig custom resource named cloud-provider-yandex (learn more about setting up Deckhouse…).

Example of the ModuleConfig/cloud-provider-yandex resource for configuring the module:

apiVersion: deckhouse.io/v1alpha1
kind: ModuleConfig
metadata:
  name: cloud-provider-yandex
spec:
  version: 1
  enabled: true
  settings: # <-- Module parameters from the "Parameters" section below.

Parameters

Schema version: 1

  • settings
    object
    • settings.additionalExternalNetworkIDs
      array of strings

      A list of Network IDs that will be considered ExternalIP when listing Node addresses.

      Default: []

    • settings.storageClass
      object
      • settings.storageClass.default
        Deprecated
        string

        The name of StorageClass that will be used in the cluster by default.

        If the parameter is omitted, the default StorageClass will be one of the following:

        • an arbitrary StorageClass present in the cluster that has the default annotation;
        • the first (in lexicographic order) StorageClass created by the module.

        Parameter is deprecated. Instead, use the global parameter global.defaultClusterStorageClass.

        Example:

        default: network-hdd
        
      • settings.storageClass.exclude
        array of strings

        A list of StorageClass names (or regex expressions for names) to exclude from the creation in the cluster;

        Example:

        exclude:
        - network-ssd-.*
        - network-hdd