You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cluster-autoscaler/config/flags/flags.go
+9-7Lines changed: 9 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -119,13 +119,14 @@ var (
119
119
maxBulkSoftTaintTime=flag.Duration("max-bulk-soft-taint-time", 3*time.Second, "Maximum duration of tainting/untainting nodes as PreferNoSchedule at the same time.")
120
120
maxGracefulTerminationFlag=flag.Int("max-graceful-termination-sec", 10*60, "Maximum number of seconds CA waits for pod termination when trying to scale down a node. "+
121
121
"This flag is mutually exclusion with drain-priority-config flag which allows more configuration options.")
122
-
maxTotalUnreadyPercentage=flag.Float64("max-total-unready-percentage", 45, "Maximum percentage of unready nodes in the cluster. After this is exceeded, CA halts operations")
123
-
okTotalUnreadyCount=flag.Int("ok-total-unready-count", 3, "Number of allowed unready nodes, irrespective of max-total-unready-percentage")
124
-
scaleUpFromZero=flag.Bool("scale-up-from-zero", true, "Should CA scale up when there are 0 ready nodes.")
125
-
parallelScaleUp=flag.Bool("parallel-scale-up", false, "Whether to allow parallel node groups scale up. Experimental: may not work on some cloud providers, enable at your own risk.")
126
-
maxNodeProvisionTime=flag.Duration("max-node-provision-time", 15*time.Minute, "The default maximum time CA waits for node to be provisioned - the value can be overridden per node group")
127
-
maxPodEvictionTime=flag.Duration("max-pod-eviction-time", 2*time.Minute, "Maximum time CA tries to evict a pod before giving up")
128
-
nodeGroupsFlag=multiStringFlag(
122
+
maxTotalUnreadyPercentage=flag.Float64("max-total-unready-percentage", 45, "Maximum percentage of unready nodes in the cluster. After this is exceeded, CA halts operations")
123
+
okTotalUnreadyCount=flag.Int("ok-total-unready-count", 3, "Number of allowed unready nodes, irrespective of max-total-unready-percentage")
124
+
scaleUpFromZero=flag.Bool("scale-up-from-zero", true, "Should CA scale up when there are 0 ready nodes.")
125
+
parallelScaleUp=flag.Bool("parallel-scale-up", false, "Whether to allow parallel node groups scale up. Experimental: may not work on some cloud providers, enable at your own risk.")
126
+
maxNodeProvisionTime=flag.Duration("max-node-provision-time", 15*time.Minute, "The default maximum time CA waits for node to be provisioned - the value can be overridden per node group")
127
+
ignoreInstanceCreationErrors=flag.Bool("ignore-instance-creation-errors", false, "Whether CA should ignore instance creation errors")
128
+
maxPodEvictionTime=flag.Duration("max-pod-eviction-time", 2*time.Minute, "Maximum time CA tries to evict a pod before giving up")
129
+
nodeGroupsFlag=multiStringFlag(
129
130
"nodes",
130
131
"sets min,max size and other configuration data for a node group in a format accepted by cloud provider. Can be used multiple times. Format: <min>:<max>:<other...>")
0 commit comments