File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed
keps/sig-autoscaling/853-configurable-hpa-scale-velocity Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -115,10 +115,11 @@ behavior:
115
115
scaleUp :
116
116
policies :
117
117
- type : Percent
118
- value : 900%
118
+ value : 900
119
+ periodSeconds : 60
119
120
` ` `
120
121
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
122
123
of replicas 10 times the current size. All other parameters are not specified (default values are used)
123
124
124
125
If the application is started with 1 pod, it will scale up with the following number of pods :
@@ -143,7 +144,8 @@ behavior:
143
144
scaleUp:
144
145
policies:
145
146
- type: Percent
146
- value: 900%
147
+ value: 900
148
+ periodSeconds: 60
147
149
scaleDown:
148
150
policies:
149
151
- type: Pods
@@ -167,6 +169,7 @@ behavior:
167
169
policies:
168
170
- type: Pods
169
171
value: 1
172
+ periodSeconds: 300
170
173
` ` `
171
174
172
175
If the application is started with 1 pod, it will scale up very gradually :
@@ -204,6 +207,7 @@ behavior:
204
207
policies:
205
208
- type: Pods
206
209
value: 5
210
+ periodSeconds: 600
207
211
` ` `
208
212
209
213
i.e., the algorithm will :
@@ -246,6 +250,7 @@ behavior:
246
250
policies:
247
251
- type: Pods
248
252
value: 20
253
+ periodSeconds: 60
249
254
` ` `
250
255
251
256
i.e., the algorithm will :
You can’t perform that action at this time.
0 commit comments