From b4b4784c6c4ad5f5271162be43a1b74da703314f Mon Sep 17 00:00:00 2001 From: Antonio Ojea Date: Fri, 16 Feb 2024 11:59:54 +0000 Subject: [PATCH] enable ip aliases on clusters by default Change-Id: I2f98af61b5a8d98742510dd0a2b66d1bb6df02eb --- cluster/gce/config-default.sh | 2 +- cluster/gce/config-test.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cluster/gce/config-default.sh b/cluster/gce/config-default.sh index 4abc7969e4a..d014395921b 100755 --- a/cluster/gce/config-default.sh +++ b/cluster/gce/config-default.sh @@ -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. diff --git a/cluster/gce/config-test.sh b/cluster/gce/config-test.sh index a2d84415d56..8a862d22578 100755 --- a/cluster/gce/config-test.sh +++ b/cluster/gce/config-test.sh @@ -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.