The cloud-provider-yandex module is responsible for interacting with the Yandex Cloud cloud resources. It allows the node manager module to use Yandex Cloud resources for provisioning nodes for the defined node group (a group of nodes that are acted upon as if they were a single entity).

The cloud-provider-yandex module:

  • Manages Yandex Cloud resources using the cloud-controller-manager (CCM) module:
    • The CCM module creates network routes for the PodNetwork network on the Yandex Cloud side.
    • The CCM module updates the Yandex Cloud Instances and Kubernetes Nodes metadata and deletes from Kubernetes nodes that no longer exist in Yandex Cloud.
  • Provisions disks in Yandex Cloud using the CSI storage component.
  • Registers with the node-manager module so that YandexInstanceClasses can be used when creating the NodeGroup.
  • Enables the necessary CNI plugin (using the simple bridge).