Skip to content

Commit a97bc2d

Browse files
committed
[hotfix] Correct the doc related to restart time tracking
1 parent b584b08 commit a97bc2d

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

docs/content/docs/custom-resource/autoscaler.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -162,12 +162,14 @@ Setting `job.autoscaler.target.utilization.boundary: "0.2"` means that we allow
162162
### Target catch-up duration and restart time
163163

164164
When taking scaling decisions the operator need to account for the extra capacity required to catch up the backlog created during scaling operations.
165-
The amount of extra capacity is determined automatically by the following 2 configs:
165+
The amount of extra capacity is determined automatically by the following 3 configs:
166166

167-
- `job.autoscaler.restart.time` : Time it usually takes to restart the application
168167
- `job.autoscaler.catch-up.duration` : Time to job is expected to catch up after scaling
168+
- `job.autoscaler.restart.time` : Time it usually takes to restart the application
169+
- `job.autoscaler.restart.time-tracking.enabled` : Whether to use the actual observed rescaling restart times instead of the fixed 'job.autoscaler.restart.time' configuration. It's disabled by default.
169170

170-
In the future the autoscaler may be able to automatically determine the restart time, but the target catch-up duration depends on the users SLO.
171+
The maximum restart duration over a number of samples will be used when `job.autoscaler.restart.time-tracking.enabled` is set to true,
172+
but the target catch-up duration depends on the users SLO.
171173

172174
By lowering the catch-up duration the autoscaler will have to reserve more extra capacity for the scaling actions.
173175
We suggest setting this based on your actual objective, such us 10,30,60 minutes etc.

0 commit comments

Comments
 (0)