This repository contains the Kubernetes cloud-controller-manager for HUAWEICLOUD.
Successfully running cloud-controller-manager requires some changes to your cluster configuration.
kube-apiserver
andkube-controller-manager
MUST NOT specify the--cloud-provider
flag (or specify--cloud-provider=external
). This ensures that it does not run any cloud specific loops that would be run by cloud controller manager.kubelet
must run with--cloud-provider=external
. This is to ensure that the kubelet is aware that it must be initialized by the cloud controller manager before it is scheduled any work.
Go version should be 1.13+, and the dependencies are managed using Go modules. To keep it simple, you can use vendor as well.
$ git clone https://github.com/kubernetes-sigs/cloud-provider-huaweicloud.git
$ make huawei-cloud-controller-manager
- Concepts Underlying the Cloud Controller Manager
- Running cloud controller manager
- Developing Cloud Controller Manager
Any questions feel free to send an issue.