Skip to content

Commit

Permalink
Merge pull request #97 from warpstreamlabs/ra/tune-auto-scaler
Browse files Browse the repository at this point in the history
Tune auto-scaler to be less aggressive
  • Loading branch information
richardartoul authored Aug 27, 2024
2 parents 823a42d + 2708dc0 commit d2b5490
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 2 deletions.
6 changes: 6 additions & 0 deletions charts/warpstream-agent/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.13.20] - 2024-08-27

### Added

- Tune the auto-scaler to be less aggressive (upscale slightly slower, downscale *much* slower).

## [0.13.19] - 2024-08-27

### Added
Expand Down
2 changes: 1 addition & 1 deletion charts/warpstream-agent/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: warpstream-agent
description: WarpStream Agent for Kubernetes.
type: application
version: 0.13.19
version: 0.13.20
appVersion: v577
icon: https://avatars.githubusercontent.com/u/132156278
home: https://docs.warpstream.com/warpstream/
Expand Down
18 changes: 17 additions & 1 deletion charts/warpstream-agent/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,23 @@ autoscaling:
maxReplicas: 30
targetCPU: "60"
targetMemory: ""
behavior: {}
behavior:
scaleDown:
stabilizationWindowSeconds: 1800
policies:
- type: Pods
value: 1
periodSeconds: 900
scaleUp:
stabilizationWindowSeconds: 0
policies:
- type: Percent
value: 50
periodSeconds: 300
- type: Pods
value: 3
periodSeconds: 300
selectPolicy: Max

# Optional disruption budget. Enabled by default to minimize disruption during deploys.
pdb:
Expand Down

0 comments on commit d2b5490

Please sign in to comment.