• Kubernetes Submit Queue's avatar
    Merge pull request #42147 from bowei/ip-alias-2 · ceccd305
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue
    
    Add support for IP aliases for pod IPs (GCP alpha feature)
    
    ```release-note
    Adds support for allocation of pod IPs via IP aliases.
    
    # Adds KUBE_GCE_ENABLE_IP_ALIASES flag to the cluster up scripts (`kube-{up,down}.sh`).
    
    KUBE_GCE_ENABLE_IP_ALIASES=true will enable allocation of PodCIDR ips
    using the ip alias mechanism rather than using routes. This feature is currently
    only available on GCE.
    
    ## Usage
    $ CLUSTER_IP_RANGE=10.100.0.0/16 KUBE_GCE_ENABLE_IP_ALIASES=true bash -x cluster/kube-up.sh
    
    # Adds CloudAllocator to the node CIDR allocator (kubernetes-controller manager).
    
    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
    ```
    ceccd305
Name
Last commit
Last update
.github Loading commit data...
Godeps Loading commit data...
api Loading commit data...
build Loading commit data...
cluster Loading commit data...
cmd Loading commit data...
docs Loading commit data...
examples Loading commit data...
federation Loading commit data...
hack Loading commit data...
hooks Loading commit data...
logo Loading commit data...
pkg Loading commit data...
plugin Loading commit data...
staging Loading commit data...
test Loading commit data...
third_party Loading commit data...
translations Loading commit data...
vendor Loading commit data...
.bazelrc Loading commit data...
.gazelcfg.json Loading commit data...
.generated_files Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
BUILD.bazel Loading commit data...
CHANGELOG.md Loading commit data...
CONTRIBUTING.md Loading commit data...
LICENSE Loading commit data...
Makefile Loading commit data...
Makefile.generated_files Loading commit data...
OWNERS Loading commit data...
OWNERS_ALIASES Loading commit data...
README.md Loading commit data...
Vagrantfile Loading commit data...
WORKSPACE Loading commit data...
code-of-conduct.md Loading commit data...
labels.yaml Loading commit data...