Skip to content

Commit 57a58a3

Browse files
authored
Merge pull request #40687 from asa3311/sync-1.27-scheduling-framework.md
[zh-cn] sync 1.27 scheduling-framework.md
2 parents aa1aaf9 + 0b25549 commit 57a58a3

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

content/zh-cn/docs/concepts/scheduling-eviction/scheduling-framework.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,28 @@ stateful tasks.
105105
-->
106106
{{< figure src="/images/docs/scheduling-framework-extensions.png" title="调度框架扩展点" class="diagram-large">}}
107107

108+
<!--
109+
### PreEnqueue {#pre-enqueue}
110+
-->
111+
### PreEnqueue {#pre-enqueue}
112+
113+
<!--
114+
These plugins are called prior to adding Pods to the internal active queue, where Pods are marked as
115+
ready for scheduling.
116+
117+
Only when all PreEnqueue plugins return `Success`, the Pod is allowed to enter the active queue.
118+
Otherwise, it's placed in the internal unschedulable Pods list, and doesn't get an `Unschedulable` condition.
119+
120+
For more details about how internal scheduler queues work, read
121+
[Scheduling queue in kube-scheduler](https://github.com/kubernetes/community/blob/f03b6d5692bd979f07dd472e7b6836b2dad0fd9b/contributors/devel/sig-scheduling/scheduler_queues.md).
122+
-->
123+
这些插件在将 Pod 被添加到内部活动队列之前被调用,在此队列中 Pod 被标记为准备好进行调度。
124+
125+
只有当所有 PreEnqueue 插件返回 `Success` 时,Pod 才允许进入活动队列。
126+
否则,它将被放置在内部无法调度的 Pod 列表中,并且不会获得 `Unschedulable` 状态。
127+
128+
要了解有关内部调度器队列如何工作的更多详细信息,请阅读 [kube-scheduler 调度队列](https://github.com/kubernetes/community/blob/f03b6d5692bd979f07dd472e7b6836b2dad0fd9b/contributors/devel/sig-scheduling/scheduler_queues.md)
129+
108130
<!--
109131
### QueueSort {#queue-sort}
110132
-->

0 commit comments

Comments
 (0)