Skip to content

Commit

Permalink
Set DefaultRequeuingBackoffBaseSeconds to 60s.
Browse files Browse the repository at this point in the history
  • Loading branch information
mbobrovskyi committed May 21, 2024
1 parent 8c182be commit df4705a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions apis/config/v1beta1/configuration_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ type RequeuingStrategy struct {
// - "Rand" represents the random jitter.
// During this time, the workload is taken as an inadmissible and
// other workloads will have a chance to be admitted.
// By default, the consecutive requeue delays are around: (10s, 20s, 40s, ...).
// By default, the consecutive requeue delays are around: (60s, 120s, 240s, ...).
//
// Defaults to null.
// +optional
Expand All @@ -256,7 +256,7 @@ type RequeuingStrategy struct {
// BackoffBaseSeconds defines the base for the exponential backoff for
// re-queuing an evicted workload.
//
// Defaults to 10.
// Defaults to 60.
// +optional
BackoffBaseSeconds *int32 `json:"backoffBaseSeconds,omitempty"`
}
Expand Down
2 changes: 1 addition & 1 deletion apis/config/v1beta1/defaults.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const (
DefaultMultiKueueGCInterval = time.Minute
DefaultMultiKueueOrigin = "multikueue"
DefaultMultiKueueWorkerLostTimeout = 15 * time.Minute
DefaultRequeuingBackoffBaseSeconds = 10
DefaultRequeuingBackoffBaseSeconds = 60
)

func getOperatorNamespace() string {
Expand Down
4 changes: 2 additions & 2 deletions site/content/en/docs/reference/kueue-config.v1beta1.md
Original file line number Diff line number Diff line change
Expand Up @@ -719,7 +719,7 @@ When it is null, the workloads will repeatedly and endless re-queueing.</p>
<li>&quot;Rand&quot; represents the random jitter.
During this time, the workload is taken as an inadmissible and
other workloads will have a chance to be admitted.
By default, the consecutive requeue delays are around: (10s, 20s, 40s, ...).</li>
By default, the consecutive requeue delays are around: (60s, 120s, 240s, ...).</li>
</ul>
<p>Defaults to null.</p>
</td>
Expand All @@ -730,7 +730,7 @@ By default, the consecutive requeue delays are around: (10s, 20s, 40s, ...).</li
<td>
<p>BackoffBaseSeconds defines the base for the exponential backoff for
re-queuing an evicted workload.</p>
<p>Defaults to 10.</p>
<p>Defaults to 60.</p>
</td>
</tr>
</tbody>
Expand Down

0 comments on commit df4705a

Please sign in to comment.