Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add a doc for QueueingHint #43813

Merged
merged 4 commits into from
Nov 22, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix based on reviews
  • Loading branch information
sanposhiho committed Nov 4, 2023
commit 0190eebb5ef3f5d5bd16ee3c49ecae53474f30b0
Original file line number Diff line number Diff line change
Expand Up @@ -230,13 +230,14 @@ PreEnqueue, PreFilter, Filter, Reserve and Permit plugins are supposed to implem
{{< feature-state for_k8s_version="v1.28" state="beta" >}}
sanposhiho marked this conversation as resolved.
Show resolved Hide resolved

QueueingHint is a part of EnqueueExtension.
It's callback functions to decide if a Pod can be requeued to activeQ/backoffQ.
It's executed every time certain kind of events happens,
It's a callback function for deciding whether a Pod can be requeued to the active queue or backoff queue.
It's executed every time a certain kind of events happen,
and when the QueueingHint finds that the event might make the Pod schedulable,
the scheduling queue requeues the Pod into activeQ/backoffQ so that the scheduler will retry the scheduling of the Pod.
the Pod is put into the active queue or the backoff queue
so that the scheduler will retry the scheduling of the Pod.

{{< note >}}
QueueingHint is a beta-level field and enabled by default in 1.28.
QueueingHint is a beta-level field and is enabled by default in 1.28.
You can disable it via the
`SchedulerQueueingHints` [feature gate](/docs/reference/command-line-tools-reference/feature-gates/).
{{< /note >}}
Expand Down