Update README.md to fix scaleUp/Down examples (#684)

* Update README.md to fix scaleUp/Down examples

* fix comment formatting
This commit is contained in:
lucas-pate 2021-07-10 19:05:43 -05:00 committed by GitHub
parent f19e7ea8a8
commit dcea0f7f79
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -469,8 +469,8 @@ spec:
- type: PercentageRunnersBusy - type: PercentageRunnersBusy
scaleUpThreshold: '0.75' # The percentage of busy runners at which the number of desired runners are re-evaluated to scale up scaleUpThreshold: '0.75' # The percentage of busy runners at which the number of desired runners are re-evaluated to scale up
scaleDownThreshold: '0.3' # The percentage of busy runners at which the number of desired runners are re-evaluated to scale down scaleDownThreshold: '0.3' # The percentage of busy runners at which the number of desired runners are re-evaluated to scale down
ScaleUpAdjustment: '2' # The scale up runner count added to desired count scaleUpAdjustment: 2 # The scale up runner count added to desired count
ScaleDownAdjustment: '1' # The scale down runner count subtracted from the desired count scaleDownAdjustment: 1 # The scale down runner count subtracted from the desired count
``` ```
Like the previous metric, the scale down factor respects the anti-flapping configuration is applied to the `HorizontalRunnerAutoscaler` as mentioned previously: Like the previous metric, the scale down factor respects the anti-flapping configuration is applied to the `HorizontalRunnerAutoscaler` as mentioned previously: