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

The cloud-provider-vsphere module:

  • Manages vSphere resources using the cloud-controller-manager (CCM) module:
    • The CCM module creates network routes for the PodNetwork network on the vSphere side.
    • The CCM module updates the metadata of the vSphere VirtualMachines and Kubernetes Nodes and deletes nodes that are no longer in vSphere.
  • Provisions disks on datastore in vSphere via the First-Class Disk mechanism using the CSI storage component.
  • Registers with the node-manager module so that VsphereInstanceClasses can be used when creating the NodeGroup.