diff --git a/cluster/gce/config-default.sh b/cluster/gce/config-default.sh index d8813479169..e5a3a671fd7 100755 --- a/cluster/gce/config-default.sh +++ b/cluster/gce/config-default.sh @@ -247,6 +247,7 @@ RUNTIME_CONFIG="${KUBE_RUNTIME_CONFIG:-}" if [[ "${KUBE_FEATURE_GATES:-}" == "AllAlpha=true" ]]; then RUNTIME_CONFIG="${KUBE_RUNTIME_CONFIG:-api/all=true}" + RUN_CONTROLLERS="${RUN_CONTROLLERS:-*,endpointslice}" fi # Optional: set feature gates diff --git a/cluster/gce/config-test.sh b/cluster/gce/config-test.sh index 3c382259333..6ab9a4ea9d9 100755 --- a/cluster/gce/config-test.sh +++ b/cluster/gce/config-test.sh @@ -136,6 +136,7 @@ RUNTIME_CONFIG="${KUBE_RUNTIME_CONFIG:-}" if [[ "${KUBE_FEATURE_GATES:-}" == "AllAlpha=true" ]]; then RUNTIME_CONFIG="${KUBE_RUNTIME_CONFIG:-api/all=true}" + RUN_CONTROLLERS="${RUN_CONTROLLERS:-*,endpointslice}" fi # Optional: set feature gates diff --git a/cluster/gce/util.sh b/cluster/gce/util.sh index 11a210ce2cb..460e24d6772 100755 --- a/cluster/gce/util.sh +++ b/cluster/gce/util.sh @@ -1284,6 +1284,11 @@ EOF if [ -n "${FEATURE_GATES:-}" ]; then cat >>$file <>$file <