Skip to content

Commit feeba19

Browse files
Templumalexellis
authored andcommitted
Added note regarding how to disable auto scaling
Signed-off-by: Simon Pelczer <[email protected]>
1 parent 617cb62 commit feeba19

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

docs/architecture/autoscaling.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,12 @@ The AlertManager rules ([alert.rules](https://github.com/openfaas/faas/blob/mast
1616

1717
The minimum (initial) and maximum replica count can be set at deployment time by adding a label to the function.
1818

19-
* `com.openfaas.scale.min`
19+
* `com.openfaas.scale.min` By default this is set to `1`
2020

21-
By default this is set to `1`
21+
* `com.openfaas.scale.max` The current default value is `20` for 20 replicas
2222

23-
* `com.openfaas.scale.max`
23+
> Note: Setting `com.openfaas.scale.max=1` allows to disable the auto-scaling functionality of openfaas.
2424
25-
The current default value is `20` for 20 replicas
2625

2726
For each alert fired the auto-scaler will add 5 replicas, but we are currently working on making the step configurable as a pre-defined step or proportional percentage. Once an alert is resolved due to a lower load than is needed for scaling the replica count will be scaled to the minimum replica count.
2827

0 commit comments

Comments
 (0)