• Bowei Du's avatar
    Adds support for PodCIDR allocation from the GCE cloud provider · f61590c2
    Bowei Du authored
    If CIDRAllocatorType is set to `CloudCIDRAllocator`, then allocation
    of CIDR allocation instead is done by the external cloud provider and
    the node controller is only responsible for reflecting the allocation
    into the node spec.
    
    - Splits off the rangeAllocator from the cidr_allocator.go file.
    - Adds cloudCIDRAllocator, which is used when the cloud provider allocates
      the CIDR ranges externally. (GCE support only)
    - Updates RBAC permission for node controller to include PATCH
    f61590c2
cloud_cidr_allocator.go 4.17 KB