Skip to content

Commit 6ce457c

Browse files
vagababovknative-prow-robot
authored andcommitted
Add/fix some documentation for the autoscaler configuration. (#1742)
We definitely need more data there and document with more examples. But this is for another PR.
1 parent 34220a9 commit 6ce457c

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

docs/serving/configuring-the-autoscaler.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ following parameters in the ConfigMap.
4646
## scale-to-zero-grace-period
4747

4848
`scale-to-zero-grace-period` specifies the time an inactive revision is left
49-
running before it is scaled to zero (min: 30s).
49+
running before it is scaled to zero (min: 6s).
5050

5151
```
5252
scale-to-zero-grace-period: 30s
@@ -55,7 +55,7 @@ scale-to-zero-grace-period: 30s
5555
## stable-window
5656

5757
When operating in a stable mode, the autoscaler operates on the average
58-
concurrency over the stable window.
58+
concurrency over the stable window (min: 6s).
5959

6060
```
6161
stable-window: 60s
@@ -70,7 +70,7 @@ autoscaling.knative.dev/window: 60s
7070

7171
## enable-scale-to-zero
7272

73-
Ensure that enable-scale-to-zero is set to `true`.
73+
Ensure that enable-scale-to-zero is set to `true`, if scale to zero is desired.
7474

7575
## Termination period
7676

@@ -119,7 +119,8 @@ containerConcurrency: 0 | 1 | 2-N
119119
```
120120

121121
- A `containerConcurrency` value of `1` will guarantee that only one request is
122-
handled at a time by a given instance of the revision container.
122+
handled at a time by a given instance of the revision container, though requests
123+
might be queued, waiting to be served.
123124
- A value of `2` or more will limit request concurrency to that value.
124125
- A value of `0` means the system should decide.
125126

@@ -147,7 +148,7 @@ Using these annotations in the revision template will propagate this to
147148
modified later without modifying anything else in the Knative Serving system.
148149

149150
```
150-
edit podautoscaler <revision-name>
151+
kubectl edit podautoscaler <revision-name>
151152
```
152153

153154
**NOTE:** These annotations apply for the full lifetime of a revision. Even when

0 commit comments

Comments
 (0)