Merge pull request https://github.com/kubernetes/contrib/pull/1148 from mwielgus/enable-scale-down

Cluster-autoscaler: enable scale down by default
This commit is contained in:
Marcin Wielgus 2016-06-07 17:05:02 +02:00
commit f3d75d4f00
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ var (
verifyUnschedulablePods = flag.Bool("verify-unschedulable-pods", true, verifyUnschedulablePods = flag.Bool("verify-unschedulable-pods", true,
"If enabled CA will ensure that each pod marked by Scheduler as unschedulable actually can't be scheduled on any node."+ "If enabled CA will ensure that each pod marked by Scheduler as unschedulable actually can't be scheduled on any node."+
"This prevents from adding unnecessary nodes in situation when CA and Scheduler have different configuration.") "This prevents from adding unnecessary nodes in situation when CA and Scheduler have different configuration.")
scaleDownEnabled = flag.Bool("experimental-scale-down-enabled", false, "Should CA scale down the cluster") scaleDownEnabled = flag.Bool("scale-down-enabled", true, "Should CA scale down the cluster")
scaleDownDelay = flag.Duration("scale-down-delay", 10*time.Minute, scaleDownDelay = flag.Duration("scale-down-delay", 10*time.Minute,
"Duration from the last scale up to the time when CA starts to check scale down options") "Duration from the last scale up to the time when CA starts to check scale down options")
scaleDownUnderutilizedTime = flag.Duration("scale-down-underutilized-time", 10*time.Minute, scaleDownUnderutilizedTime = flag.Duration("scale-down-underutilized-time", 10*time.Minute,