diff --git a/cluster/gce/util.sh b/cluster/gce/util.sh index 05bcd9a7363..957340b1890 100755 --- a/cluster/gce/util.sh +++ b/cluster/gce/util.sh @@ -1247,8 +1247,8 @@ function create-cluster-autoscaler-mig-config() { # Each MIG must have at least one node, so the min number of nodes # must be greater or equal to the number of migs. - if [[ ${AUTOSCALER_MIN_NODES} -lt ${NUM_MIGS} ]]; then - echo "AUTOSCALER_MIN_NODES must be greater or equal ${NUM_MIGS}" + if [[ ${AUTOSCALER_MIN_NODES} -lt 0 ]]; then + echo "AUTOSCALER_MIN_NODES must be greater or equal 0" exit 2 fi