Skip to content

Commit b8506af

Browse files
authored
Merge pull request #6595 from drmorr0/patch-1
Update expander options for the AWS cloud provider README
2 parents 06fa717 + a525064 commit b8506af

File tree

1 file changed

+9
-7
lines changed
  • cluster-autoscaler/cloudprovider/aws

1 file changed

+9
-7
lines changed

cluster-autoscaler/cloudprovider/aws/README.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ as string). Currently supported autoscaling options (and example values) are:
247247
* `k8s.io/cluster-autoscaler/node-template/autoscaling-options/scaledownunreadytime`: `20m0s`
248248
(overrides `--scale-down-unready-time` value for that specific ASG)
249249
* `k8s.io/cluster-autoscaler/node-template/autoscaling-options/ignoredaemonsetsutilization`: `true`
250-
(overrides `--ignore-daemonsets-utilization` value for that specific ASG)
250+
(overrides `--ignore-daemonsets-utilization` value for that specific ASG)
251251

252252
**NOTE:** It is your responsibility to ensure such labels and/or taints are
253253
applied via the node's kubelet configuration at startup. Cluster Autoscaler will not set the node taints for you.
@@ -507,12 +507,14 @@ Please note: it is also possible to mount the cloud config file from host:
507507
`--scale-down-delay-after-delete`, and `--scale-down-delay-after-failure`
508508
flag. E.g. `--scale-down-delay-after-add=5m` to decrease the scale down delay
509509
to 5 minutes after a node has been added.
510-
- If you're running multiple ASGs, the `--expander` flag supports three options:
511-
`random`, `most-pods` and `least-waste`. `random` will expand a random ASG on
512-
scale up. `most-pods` will scale up the ASG that will schedule the most amount
513-
of pods. `least-waste` will expand the ASG that will waste the least amount of
514-
CPU/MEM resources. In the event of a tie, cluster autoscaler will fall back to
515-
`random`.
510+
- If you're running multiple ASGs, the `--expander` flag supports five options:
511+
`random`, `most-pods`, `least-waste`, `priority`, and `grpc`. `random` will
512+
expand a random ASG on scale up. `most-pods` will scale up the ASG that will
513+
schedule the most amount of pods. `least-waste` will expand the ASG that will
514+
waste the least amount of CPU/MEM resources. In the event of a tie, cluster
515+
autoscaler will fall back to`random`. The `priority` expander lets you define
516+
a custom priority ranking in a ConfigMap for selecting ASGs, and the `grpc`
517+
expander allows you to write your own expansion logic.
516518
- If you're managing your own kubelets, they need to be started with the
517519
`--provider-id` flag. The provider id has the format
518520
`aws:///<availability-zone>/<instance-id>`, e.g.

0 commit comments

Comments
 (0)