This repository provides tools and scripts for building and testing Kubernetes cloud-controller-manager
for vSphere. The project is under development and should not be used in production.
The in-tree vSphere cloud provider code is 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](https://github.com/kubernetes/kubernetes).
There is ongoing work for refactoring cloud providers out of the upstream repository. For more details, please check this KEP.
This section outlines how to build the cloud provider with and without Docker.
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
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
Please see CONTRIBUTING.md for instructions on how to contribute.
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.