Update scheduler framework doc to include PreEnqueue

pull/40647/head
Wei Huang 2023-04-12 18:19:24 -07:00
parent 1bb518d9e0
commit 9c88b40f05
No known key found for this signature in database
GPG Key ID: 17AFE05D01EA77B2
2 changed files with 8 additions and 0 deletions

View File

@ -54,6 +54,14 @@ stateful tasks.
{{< figure src="/images/docs/scheduling-framework-extensions.png" title="scheduling framework extension points" class="diagram-large">}}
### PreEnqueue {#pre-enqueue}
These plugins are called prior to adding Pods to the internal active queue, where Pods are marked as
ready for scheduling.
Only when all PreEnqueue plugins return `Success`, the Pod can enter the aforementioned scheduling
cycle. Otherwise, it's moved and parked in the internal unschedulable Pods pool.
### QueueSort {#queue-sort}
These plugins are used to sort Pods in the scheduling queue. A queue sort plugin

Binary file not shown.

Before

Width:  |  Height:  |  Size: 59 KiB

After

Width:  |  Height:  |  Size: 116 KiB