...

Source file src/k8s.io/kubernetes/pkg/controller/nodeipam/ipam/doc.go

Documentation: k8s.io/kubernetes/pkg/controller/nodeipam/ipam

     1  /*
     2  Copyright 2017 The Kubernetes Authors.
     3  
     4  Licensed under the Apache License, Version 2.0 (the "License");
     5  you may not use this file except in compliance with the License.
     6  You may obtain a copy of the License at
     7  
     8      http://www.apache.org/licenses/LICENSE-2.0
     9  
    10  Unless required by applicable law or agreed to in writing, software
    11  distributed under the License is distributed on an "AS IS" BASIS,
    12  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    13  See the License for the specific language governing permissions and
    14  limitations under the License.
    15  */
    16  
    17  // Package ipam provides different allocators for assigning IP ranges to nodes.
    18  // We currently support several kinds of IPAM allocators (these are denoted by
    19  // the CIDRAllocatorType):
    20  //   - RangeAllocator is an allocator that assigns PodCIDRs to nodes and works
    21  //     in conjunction with the RouteController to configure the network to get
    22  //     connectivity.
    23  //   - CloudAllocator is an allocator that synchronizes PodCIDRs from IP
    24  //     ranges assignments from the underlying cloud platform.
    25  //   - (Alpha only) IPAMFromCluster is an allocator that has the similar
    26  //     functionality as the RangeAllocator but also synchronizes cluster-managed
    27  //     ranges into the cloud platform.
    28  //   - (Alpha only) IPAMFromCloud is the same as CloudAllocator (synchronizes
    29  //     from cloud into the cluster.)
    30  package ipam
    31  

View as plain text