---
title: Charmhub | Deploy vSphere Cloud Provider using Charmhub - The Open Operator
  Collection
description: Deploy the latest version of vSphere Cloud Provider on any cloud.
url: https://charmhub.io/vsphere-cloud-provider/configurations
---

# vSphere Cloud Provider

[Canonical Kubernetes](https://charmhub.io/publisher/containers "View all packages from Canonical Kubernetes")

* [Canonical Kubernetes](https://charmhub.io/publisher/containers "View all packages from Canonical Kubernetes")

Platform:

24.04

22.04

20.04

stable 1ed1b78

```
juju deploy vsphere-cloud-provider
```

[Learn to deploy on juju >](https://juju.is/docs/juju/manage-applications)

* [control-node-selector](https://charmhub.io/vsphere-cloud-provider/configurations#control-node-selector)
* [csi-migration](https://charmhub.io/vsphere-cloud-provider/configurations#csi-migration)
* [datacenter](https://charmhub.io/vsphere-cloud-provider/configurations#datacenter)
* [image-registry](https://charmhub.io/vsphere-cloud-provider/configurations#image-registry)
* [password](https://charmhub.io/vsphere-cloud-provider/configurations#password)
* [provider-release](https://charmhub.io/vsphere-cloud-provider/configurations#provider-release)
* [server](https://charmhub.io/vsphere-cloud-provider/configurations#server)
* [storage-class-parameters](https://charmhub.io/vsphere-cloud-provider/configurations#storage-class-parameters)
* [storage-release](https://charmhub.io/vsphere-cloud-provider/configurations#storage-release)
* [username](https://charmhub.io/vsphere-cloud-provider/configurations#username)

[Learn about configurations >](https://juju.is/docs/juju/configuration#heading--application-configuration)

* control-node-selector | string

  Specifies to which nodes this operator adds the vsphere-cpi daemonsets
  Declare node labels in key=value format, separated by spaces.
  It's also valid to not have a value, this is interpretted as an empty string.

  Required if not related to kubernetes-control-plane:kube-control

  e.g.
  node-role.kubernetes.io/control-plane=custom-value
  node-role.kubernetes.io/control-plane=
* csi-migration | string

  Default: false

  Enables the CSIMigration feature of the storage-provider allowing
  the driver plugin to migrate in-tree volumes to the out-of-tree provider.
* datacenter | string

  Required if not related to the vSphere Integrator. vSphere datacenter
* image-registry | string

  Image registry of vsphere cloud provider images.

  The value set here will replace the host portion of each image URL in
  the release manifests.

  If unset, the image registry from the kube-control relation will be used.

  example)
  juju config vsphere-cloud-provider image-registry='rocks.canonical.com:443/cdk'

  juju config vsphere-cloud-provider --reset image-registry
* password | string

  Required if not related to the vSphere Integrator. vSphere password
* provider-release | string

  Specify the version of cloud-provider as defined by the `releases`
  directory of https://github.com/kubernetes/cloud-provider-vsphere/

  example)
  juju config vsphere-cloud-provider provider-release='v1.22'

  A list of supported versions is available through the action:
  juju run-action vsphere-cloud-provider/0 list-releases --wait

  To reset by to the latest supported by the charm use:
  juju config vsphere-cloud-provider --reset provider-release

  The current release deployed is available by viewing
  juju status vsphere-cloud-provider
* server | string

  Required if not related to the vSphere Integrator. vSphere ip address e.g. `128.110.154.166`
* storage-class-parameters | string

  Default: storagepolicyname=vSAN Default Storage Policy

  Specify extra parmeters to the default storage class installed.
  Each parameter is separated by commas and are key=value pairs

  example)
  storagepolicyname=vSAN Default Storage Policy
  storagepolicyname=vSAN Default Storage Policy,datastoreurl=ds:///vmfs/volumes/vsan:52cdfa80721ff516-ea1e993113acfc77/
* storage-release | string

  Specify the version of storage-provider as defined by the `release`
  tags of https://github.com/kubernetes-sigs/vsphere-csi-driver

  example)
  juju config vsphere-cloud-provider storage-release='v2.5.1'

  A list of supported versions is available through the action:
  juju run-action vsphere-cloud-provider/0 list-releases --wait

  To reset by to the latest supported by the charm use:
  juju config vsphere-cloud-provider --reset storage-release

  The current release deployed is available by viewing
  juju status vsphere-cloud-provider
* username | string

  Required if not related to the vSphere Integrator. vSphere username
