Skip to content

Commit 8e77406

Browse files
committed
Improvement: Add periodSeconds field and fixed typo.
1 parent f805470 commit 8e77406

File tree

1 file changed

+8
-3
lines changed
  • keps/sig-autoscaling/853-configurable-hpa-scale-velocity

1 file changed

+8
-3
lines changed

keps/sig-autoscaling/853-configurable-hpa-scale-velocity/README.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,10 +115,11 @@ behavior:
115115
scaleUp:
116116
policies:
117117
- type: Percent
118-
value: 900%
118+
value: 900
119+
periodSeconds: 60
119120
```
120121
121-
The `900%` implies that 9 times the current number of pods can be added, effectively making the number
122+
The `900` implies that 9 times the current number of pods can be added, effectively making the number
122123
of replicas 10 times the current size. All other parameters are not specified (default values are used)
123124

124125
If the application is started with 1 pod, it will scale up with the following number of pods:
@@ -143,7 +144,8 @@ behavior:
143144
scaleUp:
144145
policies:
145146
- type: Percent
146-
value: 900%
147+
value: 900
148+
periodSeconds: 60
147149
scaleDown:
148150
policies:
149151
- type: Pods
@@ -167,6 +169,7 @@ behavior:
167169
policies:
168170
- type: Pods
169171
value: 1
172+
periodSeconds: 300
170173
```
171174

172175
If the application is started with 1 pod, it will scale up very gradually:
@@ -204,6 +207,7 @@ behavior:
204207
policies:
205208
- type: Pods
206209
value: 5
210+
periodSeconds: 600
207211
```
208212

209213
i.e., the algorithm will:
@@ -246,6 +250,7 @@ behavior:
246250
policies:
247251
- type: Pods
248252
value: 20
253+
periodSeconds: 60
249254
```
250255

251256
i.e., the algorithm will:

0 commit comments

Comments
 (0)