Skip to content

Commit

Permalink
Set autoscaling similar to HiChee
Browse files Browse the repository at this point in the history
  • Loading branch information
ahangarha committed Oct 10, 2023
1 parent b010ac4 commit 5927ddf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .controlplane/templates/rails.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,12 @@ spec:
defaultOptions:
# Start out like this for "test apps"
autoscaling:
metric: latency
minScale: 1
# Max of 1 effectively disables autoscaling, so like a Heroku dyno count of 1
maxScale: 1
capacityAI: true
timeoutSeconds: 60
firewallConfig:
external:
# Default to allow public access to Rails server
Expand Down

0 comments on commit 5927ddf

Please sign in to comment.