Skip to content

Commit

Permalink
Scale quicker based on fpm CPU usage.
Browse files Browse the repository at this point in the history
  • Loading branch information
EarthlingDavey committed Nov 4, 2024
1 parent 60c9e24 commit ff665ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deploy/production/hpa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ spec:
container: fpm
target:
type: Utilization
# If request is 500m let's early scale at 250m
# If request is 500m let's early scale at 200m
# Rely on CPU usage for scaling more than memory usage.
# For scaling down, CPU settles quickly and memory is freed up slowly.
averageUtilization: 50
averageUtilization: 40
- type: ContainerResource
containerResource:
name: memory
Expand Down

0 comments on commit ff665ce

Please sign in to comment.