Skip to content

Commit

Permalink
Autoscaling fix (#119)
Browse files Browse the repository at this point in the history
* autoscaling fix

* drone fix

* trigger build

* apply conf to prod

* revert drone file

* remove trigger file
  • Loading branch information
mongodben authored Aug 30, 2023
1 parent 647b00a commit 641199a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion chat-server/environments/production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ autoscaling:
- type: Resource
resource:
name: cpu
targetAverageUtilization: 80
target:
type: Utilization
averageUtilization: 80
behavior:
scaleUp:
stabilizationWindowSeconds: 0 # scaleUp immediately if conditions met
Expand Down
4 changes: 3 additions & 1 deletion chat-server/environments/staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ autoscaling:
- type: Resource
resource:
name: cpu
targetAverageUtilization: 80
target:
type: Utilization
averageUtilization: 80
behavior:
scaleUp:
stabilizationWindowSeconds: 0 # scaleUp immediately if conditions met
Expand Down

0 comments on commit 641199a

Please sign in to comment.