![]() MultiCIDRRangeAllocator is a new Range Allocator which makes using multiple ClusterCIDRs possible. It consists of two controllers, one for reconciling the ClusterCIDR API objects and the other for allocating Pod CIDRs to the nodes. The allocation is based on the rules defined in https://github.com/kubernetes/enhancements/tree/master/keps/sig-network/2593-multiple-cluster-cidrs |
||
---|---|---|
.. | ||
.import-restrictions | ||
main.go | ||
nodeipamcontroller.go | ||
OWNERS | ||
providers.go | ||
README.md |
cloud-controller-manager/example
This directory provides an example of how to leverage CCM extension mechanism.
Purpose
Begin with 1.20, all cloud providers should not copy over or vendor in k8s.io/kubernetes/cmd/cloud-controller-manager
. Inside this directory, an example is included to demonstrate how to leverage CCM extension mechanism to add a controller.
Please refer to k8s.io/cloud-provider/sample
if you do not have the requirement of adding/deleting controllers in CCM.
Things you should NOT do
- Vendor in
k8s.io/cmd/cloud-controller-manager
. - Directly modify anything under
k8s.io/cmd/cloud-controller-manager
in this repo. - Make specific cloud provider changes here.