Compare languages | Cloud provider — Yandex Cloud: configuration

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.

Внимание! При изменении настроек модуля пересоздания существующих объектов Machines в кластере НЕ происходит (новые объекты Machine будут создаваться с новыми параметрами). Пересоздание происходит только при изменении параметров NodeGroup и YandexInstanceClass. Подробнее в документации модуля node-manager.

Storage

Storage

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

Модуль автоматически создает StorageClass’ы, покрывающие все варианты дисков в Yandex Cloud:

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.
Тип Имя StorageClass Комментарии  
network-hdd network-hdd  
network-ssd network-ssd    
network-ssd-nonreplicated network-ssd-nonreplicated    
network-ssd-io-m3 network-ssd-io-m3 Размер дисков должен быть кратен 93 ГБ  

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

Вы можете отфильтровать ненужные StorageClass’ы с помощью параметра exclude.

Important information concerning the increase of the PVC size

Важная информация об увеличении размера PVC

Due to the nature of volume-resizer, CSI, and Yandex Cloud API, you have to do the following after increasing the PVC size:

Из-за особенностей работы volume-resizer, CSI и Yandex Cloud API после увеличения размера PVC необходимо:

  1. On the node where the Pod is located, run the kubectl cordon <node_name> command.
  2. Delete the Pod.
  3. Make sure that the resize was successful. The PVC object must not have the Resizing state.

    The FileSystemResizePending state is OK.

  4. On the node where the Pod is located, run the kubectl uncordon <node_name> command.
  1. На узле, где находится под, выполнить команду kubectl cordon <имя_узла>.
  2. Удалить под.
  3. Убедиться, что увеличение размера произошло успешно. В объекте PVC не будет condition Resizing.

    Состояние FileSystemResizePending не является проблемой.

  4. На узле, где находится под, выполнить команду kubectl uncordon <имя_узла>.

LoadBalancer

LoadBalancer

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

Модуль подписывается на объекты Service с типом LoadBalancer и создает соответствующие NetworkLoadBalancer и TargetGroup в Yandex Cloud.

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

Больше информации в документации Kubernetes Cloud Controller Manager for Yandex Cloud.