mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 06:27:05 +00:00
enable ip aliases on clusters by default
Change-Id: I2f98af61b5a8d98742510dd0a2b66d1bb6df02eb
This commit is contained in:
parent
3908a46b22
commit
b4b4784c6c
@ -311,7 +311,7 @@ fi
|
||||
# IP_ALIAS_SIZE is the size of the podCIDR allocated to a node.
|
||||
# IP_ALIAS_SUBNETWORK is the subnetwork to allocate from. If empty, a
|
||||
# new subnetwork will be created for the cluster.
|
||||
ENABLE_IP_ALIASES=${KUBE_GCE_ENABLE_IP_ALIASES:-false}
|
||||
ENABLE_IP_ALIASES=${KUBE_GCE_ENABLE_IP_ALIASES:-true}
|
||||
NODE_IPAM_MODE=${KUBE_GCE_NODE_IPAM_MODE:-RangeAllocator}
|
||||
if [ "${ENABLE_IP_ALIASES}" = true ]; then
|
||||
# Number of Pods that can run on this node.
|
||||
|
@ -353,7 +353,7 @@ fi
|
||||
# IP_ALIAS_SIZE is the size of the podCIDR allocated to a node.
|
||||
# IP_ALIAS_SUBNETWORK is the subnetwork to allocate from. If empty, a
|
||||
# new subnetwork will be created for the cluster.
|
||||
ENABLE_IP_ALIASES=${KUBE_GCE_ENABLE_IP_ALIASES:-false}
|
||||
ENABLE_IP_ALIASES=${KUBE_GCE_ENABLE_IP_ALIASES:-true}
|
||||
export NODE_IPAM_MODE=${KUBE_GCE_NODE_IPAM_MODE:-RangeAllocator}
|
||||
if [ "${ENABLE_IP_ALIASES}" = true ]; then
|
||||
# Number of Pods that can run on this node.
|
||||
|
Loading…
Reference in New Issue
Block a user