Skip to content

Commit

Permalink
refactor: remove line saying --scale-down-delay-type-local is only …
Browse files Browse the repository at this point in the history
…supported for `--scale-down-delay-after-add`

- because it is not true anymore
- we are supporting all `--scale-down-delay-after-*` flags per nodegroup
Signed-off-by: vadasambar <surajrbanakar@gmail.com>
  • Loading branch information
vadasambar committed May 10, 2023
1 parent 8fb1418 commit 48da4ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cluster-autoscaler/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ var (
scaleDownDelayAfterAdd = flag.Duration("scale-down-delay-after-add", 10*time.Minute,
"How long after scale up that scale down evaluation resumes")
scaleDownDelayTypeLocal = flag.Bool("scale-down-delay-type-local", false,
"Should --scale-down-delay-after-* flags be applied locally per nodegroup or globally across all nodegroups (only --scale-down-delay-after-add is supported currently)")
"Should --scale-down-delay-after-* flags be applied locally per nodegroup or globally across all nodegroups")
scaleDownDelayAfterDelete = flag.Duration("scale-down-delay-after-delete", 0,
"How long after node deletion that scale down evaluation resumes, defaults to scanInterval")
scaleDownDelayAfterFailure = flag.Duration("scale-down-delay-after-failure", 3*time.Minute,
Expand Down

0 comments on commit 48da4ed

Please sign in to comment.