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:
commit
f3d75d4f00
|
|
@ -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,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue