Skip to content

Commit

Permalink
Set scaleDownUnneededTime for cluster-autoscaler (#43)
Browse files Browse the repository at this point in the history
* Set scaleDownUnneededTime for cluster-autoscaler

Signed-off-by: Marcus Noble <[email protected]>

* Set scaleDownUnneededTime for cluster-autoscaler

Signed-off-by: Marcus Noble <[email protected]>

* Fix changelog

Signed-off-by: Marcus Noble <[email protected]>

---------

Signed-off-by: Marcus Noble <[email protected]>
  • Loading branch information
AverageMarcus authored Jun 20, 2024
1 parent e741792 commit 50389c0
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Changed

- Added `scaleDownUnneededTime` of 15m to `cluster-autoscaler` config for CAPA clusters to help avoid scale-down occurring during our scaling tests.

## [1.7.1] - 2024-06-13

### Fixed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,8 @@ global:
externalDns:
values:
triggerLoopOnEvent: true
clusterAutoscaler:
values:
configmap:
# Prevent cluster-autoscaler from trying to scale down while we're in the middle of our scaling test
scaleDownUnneededTime: 15m0s
5 changes: 5 additions & 0 deletions pkg/clusterbuilder/providers/capa/values/cluster_values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,8 @@ global:
externalDns:
values:
triggerLoopOnEvent: true
clusterAutoscaler:
values:
configmap:
# Prevent cluster-autoscaler from trying to scale down while we're in the middle of our scaling test
scaleDownUnneededTime: 15m0s
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,10 @@ global:
maxSize: 3
minSize: 2
rootVolumeSizeGB: 25

apps:
clusterAutoscaler:
values:
configmap:
# Prevent cluster-autoscaler from trying to scale down while we're in the middle of our scaling test
scaleDownUnneededTime: 15m0s
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,8 @@ global:
enabled: true
# TODO Use a variable as soon as it is available.
region: "eu-north-1"
clusterAutoscaler:
values:
configmap:
# Prevent cluster-autoscaler from trying to scale down while we're in the middle of our scaling test
scaleDownUnneededTime: 15m0s

0 comments on commit 50389c0

Please sign in to comment.