kubernetes/cloud-provider-vsphere

Kubernetes Cloud Provider for vSphere https://cloud-provider-vsphere.sigs.k8s.io

Go

277

1,955 commits

updated Sep 22, 2026

See the code

README

Kubernetes vSphere Cloud Provider

GitHub release (latest SemVer including pre-releases contributions welcome

image

vSphere Cloud Controller Manager

This repository contains the Kubernetes cloud-controller-manager for vSphere.

This project replaces the deprecated in-tree vSphere cloud provider located within the Kubernetes repository. If you want to create issues or pull requests for the in-tree cloud provider, please go to the Kubernetes repository.

There is ongoing work for refactoring cloud providers out of the upstream repository. For more details, please check this KEP.

Compatibility with Kubernetes

The vSphere cloud provider is released with a specific semantic version MAJOR.MINOR.PATCH that correlates with the Kubernetes upstream version. Compatibility with a new Kubernetes version requires upgrading existing cloud provider components since compatibility is ONLY guaranteed between a specific release and its corresponding Kubernetes version.

In the future, the major and minor versions of releases should be equivalent to the compatible upstream Kubernetes release, and the patch version is used for bug fixes pertaining to specific Kubernetes releases. See the external cloud provider versioning KEP for more details.

Version matrix:

Kubernetes VersionvSphere Cloud Provider Release VersionCloud Provider Branch
v1.37.Xv1.37.Xrelease-1.37
v1.36.Xv1.36.Xrelease-1.36
v1.35.Xv1.35.Xrelease-1.35
v1.34.Xv1.34.Xrelease-1.34
v1.33.Xv1.33.Xrelease-1.33
v1.32.Xv1.32.Xrelease-1.32
v1.31.Xv1.31.Xrelease-1.31
v1.30.Xv1.30.Xrelease-1.30
v1.29.Xv1.29.Xrelease-1.29

Our current support policy is that when a new Kubernetes release comes out, we will bump our k8s dependencies to the new version and cut a new release for CPI, e.g. CPI v1.22.x was released after k8s v1.22 comes out.

The latest CPI version is GitHub release (latest SemVer including pre-releases. The recommended way to upgrade CPI can be found on this page.

Quickstart

Get started with Cloud controller manager for vSphere with Kubeadm with this quickstart.

Quickstart using Helm

Get started with Cloud controller manager for vSphere using Helm with this Helm quickstart.

Documentation

Documentation on how to install and use the Kubernetes vSphere Cloud Provider is located on the docs site.

Building the cloud provider

This section outlines how to build the cloud provider with and without Docker.

Building locally

Build locally with the following command:

$ git clone https://github.com/kubernetes/cloud-provider-vsphere && \
  make -C cloud-provider-vsphere

The project uses Go modules and:

  • Requires Go 1.11+
  • Should not be cloned into the $GOPATH

Building with Docker

It is also possible to build the cloud provider with Docker in order to ensure a clean build environment:

$ git clone https://github.com/kubernetes/cloud-provider-vsphere && \
  make -C cloud-provider-vsphere build-with-docker

Container images

:warning: Kubernetes Image Registry Migration for Cloud Provider vSphere


As part of the overall Kubernetes project image registry migration, starting with the v1.30.1 release, the cloud-provider-vsphere images will be hosted exclusively on the community-owned registry.k8s.io registry. These images will no longer be available on the previous gcr.io/cloud-provider-vsphere/release registry.

Additionally, images for the following versions of cloud-provider-vsphere have already been migrated to registry.k8s.io:

registry.k8s.io/cloud-pv-vsphere/cloud-provider-vsphere:v1.28.0
registry.k8s.io/cloud-pv-vsphere/cloud-provider-vsphere:v1.29.0
registry.k8s.io/cloud-pv-vsphere/cloud-provider-vsphere:v1.30.0
registry.k8s.io/cloud-pv-vsphere/cloud-provider-vsphere:v1.30.1
...

Official releases of the vSphere Cloud Controller Manager container image can be found at:

registry.k8s.io/cloud-pv-vsphere/cloud-provider-vsphere:v1.37.0 # <== latest version

The very latest builds from the tip of master, which may not be stable, can be found at:

https://gcr.io/k8s-staging-cloud-pv-vsphere/cloud-provider-vsphere

Contributing

Please see CONTRIBUTING.md for instructions on how to contribute.

vSphere storage support

Out of tree cloud providers no longer provide native storage support. Instead, a Container Storage Interface (CSI) driver is required. The vSphere CSI driver is located here.

cloud-providers
kubernetes
vmware
vsphere

Significant stargazers

Hemant Kumar

342 followers · starred Mar 2019

Eric Bailey

244 followers · starred Jun 2026

Amim Knabben

119 followers · starred Nov 2021

Ross Georgiev

41 followers · starred Jan 2019

kubernetes/cloud-provider-vsphere

Kubernetes Cloud Provider for vSphere https://cloud-provider-vsphere.sigs.k8s.io

Go

277

1,955 commits

updated Sep 22, 2026

See the code

README

Kubernetes vSphere Cloud Provider

GitHub release (latest SemVer including pre-releases contributions welcome

image

vSphere Cloud Controller Manager

This repository contains the Kubernetes cloud-controller-manager for vSphere.

This project replaces the deprecated in-tree vSphere cloud provider located within the Kubernetes repository. If you want to create issues or pull requests for the in-tree cloud provider, please go to the Kubernetes repository.

There is ongoing work for refactoring cloud providers out of the upstream repository. For more details, please check this KEP.

Compatibility with Kubernetes

The vSphere cloud provider is released with a specific semantic version MAJOR.MINOR.PATCH that correlates with the Kubernetes upstream version. Compatibility with a new Kubernetes version requires upgrading existing cloud provider components since compatibility is ONLY guaranteed between a specific release and its corresponding Kubernetes version.

In the future, the major and minor versions of releases should be equivalent to the compatible upstream Kubernetes release, and the patch version is used for bug fixes pertaining to specific Kubernetes releases. See the external cloud provider versioning KEP for more details.

Version matrix:

Kubernetes VersionvSphere Cloud Provider Release VersionCloud Provider Branch
v1.37.Xv1.37.Xrelease-1.37
v1.36.Xv1.36.Xrelease-1.36
v1.35.Xv1.35.Xrelease-1.35
v1.34.Xv1.34.Xrelease-1.34
v1.33.Xv1.33.Xrelease-1.33
v1.32.Xv1.32.Xrelease-1.32
v1.31.Xv1.31.Xrelease-1.31
v1.30.Xv1.30.Xrelease-1.30
v1.29.Xv1.29.Xrelease-1.29

Our current support policy is that when a new Kubernetes release comes out, we will bump our k8s dependencies to the new version and cut a new release for CPI, e.g. CPI v1.22.x was released after k8s v1.22 comes out.

The latest CPI version is GitHub release (latest SemVer including pre-releases. The recommended way to upgrade CPI can be found on this page.

Quickstart

Get started with Cloud controller manager for vSphere with Kubeadm with this quickstart.

Quickstart using Helm

Get started with Cloud controller manager for vSphere using Helm with this Helm quickstart.

Documentation

Documentation on how to install and use the Kubernetes vSphere Cloud Provider is located on the docs site.

Building the cloud provider

This section outlines how to build the cloud provider with and without Docker.

Building locally

Build locally with the following command:

$ git clone https://github.com/kubernetes/cloud-provider-vsphere && \
  make -C cloud-provider-vsphere

The project uses Go modules and:

  • Requires Go 1.11+
  • Should not be cloned into the $GOPATH

Building with Docker

It is also possible to build the cloud provider with Docker in order to ensure a clean build environment:

$ git clone https://github.com/kubernetes/cloud-provider-vsphere && \
  make -C cloud-provider-vsphere build-with-docker

Container images

:warning: Kubernetes Image Registry Migration for Cloud Provider vSphere


As part of the overall Kubernetes project image registry migration, starting with the v1.30.1 release, the cloud-provider-vsphere images will be hosted exclusively on the community-owned registry.k8s.io registry. These images will no longer be available on the previous gcr.io/cloud-provider-vsphere/release registry.

Additionally, images for the following versions of cloud-provider-vsphere have already been migrated to registry.k8s.io:

registry.k8s.io/cloud-pv-vsphere/cloud-provider-vsphere:v1.28.0
registry.k8s.io/cloud-pv-vsphere/cloud-provider-vsphere:v1.29.0
registry.k8s.io/cloud-pv-vsphere/cloud-provider-vsphere:v1.30.0
registry.k8s.io/cloud-pv-vsphere/cloud-provider-vsphere:v1.30.1
...

Official releases of the vSphere Cloud Controller Manager container image can be found at:

registry.k8s.io/cloud-pv-vsphere/cloud-provider-vsphere:v1.37.0 # <== latest version

The very latest builds from the tip of master, which may not be stable, can be found at:

https://gcr.io/k8s-staging-cloud-pv-vsphere/cloud-provider-vsphere

Contributing

Please see CONTRIBUTING.md for instructions on how to contribute.

vSphere storage support

Out of tree cloud providers no longer provide native storage support. Instead, a Container Storage Interface (CSI) driver is required. The vSphere CSI driver is located here.

cloud-providers
kubernetes
vmware
vsphere

Significant stargazers

Hemant Kumar

342 followers · starred Mar 2019

Eric Bailey

244 followers · starred Jun 2026

Amim Knabben

119 followers · starred Nov 2021

Ross Georgiev

41 followers · starred Jan 2019

Languages

Go

91.8%

Shell

4.2%

Makefile

2.2%