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
UPSTREAM: 8520: update node info processors to include unschedulable nodes (kubernetes#8520)
* pass allNodes to node info provider Process
This change passes all the nodes to the mixed node info provider
processor that is called from `RunOnce`. The change is to allow
unschedulable and unready nodes to be processed as bad canidates during
the node info template generation.
The Process function has been updated to separate nodes into good and
bad candidates to make the filtering match the original intent.
* add --scale-from-unschedulable flag
This change introduces a flag which will instruct the CA to ignore a
node's `.spec.unschedulable` field when creating node template for
considering which node group to scale.
Copy file name to clipboardExpand all lines: cluster-autoscaler/FAQ.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1028,6 +1028,7 @@ The following startup parameters are supported for cluster autoscaler:
1028
1028
| `debugging-snapshot-enabled` | Whether the debugging snapshot of cluster autoscaler feature is enabled. | false
1029
1029
| `node-delete-delay-after-taint` | How long to wait before deleting a node after tainting it. | 5 seconds
1030
1030
| `enable-provisioning-requests` | Whether the clusterautoscaler will be handling the ProvisioningRequest CRs. | false
1031
+
| `scale-from-unschedulable` | Should CA ignore a node's .spec.unschedulable field when creating a node template for considering to scale a node group. | false |
Copy file name to clipboardExpand all lines: cluster-autoscaler/main.go
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -225,6 +225,7 @@ var (
225
225
balancingIgnoreLabelsFlag=multiStringFlag("balancing-ignore-label", "Specifies a label to ignore in addition to the basic and cloud-provider set of labels when comparing if two node groups are similar")
226
226
balancingLabelsFlag=multiStringFlag("balancing-label", "Specifies a label to use for comparing if two node groups are similar, rather than the built in heuristics. Setting this flag disables all other comparison logic, and cannot be combined with --balancing-ignore-label.")
227
227
awsUseStaticInstanceList=flag.Bool("aws-use-static-instance-list", false, "Should CA fetch instance types in runtime or use a static list. AWS only")
228
+
scaleFromUnschedulable=flag.Bool("scale-from-unschedulable", false, "Specifies that the CA should ignore a node's .spec.unschedulable field in node templates when considering to scale a node group.")
228
229
229
230
// GCE specific flags
230
231
concurrentGceRefreshes=flag.Int("gce-concurrent-refreshes", 1, "Maximum number of concurrent refreshes per cloud object type.")
0 commit comments