tree: 2a231623b33b43ed21960aefb21d85fe82beabbc [path history] [tgz]
  1. cmd/
  2. vendor/
  3. .gitignore
  4. cloudstack.go
  5. cloudstack_instances.go
  6. cloudstack_loadbalancer.go
  7. cloudstack_test.go
  8. deployment.yaml
  9. Dockerfile
  10. Gopkg.lock
  11. Gopkg.toml
  12. LICENSE-2.0
  13. Makefile
  14. metadata.go
  15. metadata_linux.go
  16. metadata_other.go
  18. service.yaml

Cloudstack Cloud Controller Manager

A Cloud Controller Manager to facilitate Kubernetes deployments on Cloudstack.

Based on the old Cloudstack provider in kube-controller-manager.


All dependencies are vendored. You need GNU make, git and Go 1.10 to build cloudstack-ccm.

go get
cd ${GOPATH}/src/

To build the cloudstack-cloud-controller-manager container, please use the provided Docker file:

docker build . -t swisstxt/cloudstack-cloud-controller-manager:latest


Prebuilt containers are posted on Docker Hub.


To deploy the ccm in the cluster see deployment.yaml and configure your cloudstack and api server connection. See the comments.


This CCM supports TCP, UDP and TCP-Proxy LoadBalancer deployments.

For UDP and Proxy Protocol support, CloudStack 4.6 or later is required.

Since kube-proxy does not support the Proxy Protocol or UDP, you should connect this directly to containers, for example by deploying a DaemonSet and setting hostNetwork: true.

See service.yaml for an example Service deployment and part of a suitable configuration for an ingress controller.


Make sure your apiserver is running locally and keep your cloudstack config ready:

./cloudstack-ccm --cloud-provider external-cloudstack --cloud-config cloud.config --master localhost


© 2018 SWISS TXT AG and the Kubernetes authors.

See LICENSE-2.0 for permitted usage.