Skip to content

Commit 444c0f3

Browse files
[zh] Sync 1.29 docs and polish informational wording (#44353)
* [zh] Sync 1.29 docs and polish informational wording Signed-off-by: Peter Pan <[email protected]> * Update content/zh-cn/docs/concepts/scheduling-eviction/scheduling-framework.md Co-authored-by: Michael <[email protected]> * Update content/zh-cn/docs/concepts/scheduling-eviction/scheduling-framework.md Co-authored-by: Michael <[email protected]> * Update content/zh-cn/docs/concepts/scheduling-eviction/scheduling-framework.md Co-authored-by: Michael <[email protected]> --------- Signed-off-by: Peter Pan <[email protected]> Co-authored-by: Michael <[email protected]>
1 parent b6e0804 commit 444c0f3

File tree

1 file changed

+15
-26
lines changed

1 file changed

+15
-26
lines changed

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

Lines changed: 15 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -156,15 +156,23 @@ QueueingHint 作为一个回调函数,用于决定是否将 Pod 重新排队
156156

157157
{{< note >}}
158158
<!--
159-
QueueingHint evaluation during scheduling is a beta-level feature and is enabled by default in 1.28.
160-
You can disable it via the
159+
QueueingHint evaluation during scheduling is a beta-level feature.
160+
The v1.28 release series initially enabled the associated feature gate; however, after the
161+
discovery of an excessive memory footprint, the Kubernetes project set that feature gate
162+
to be disabled by default. In Kubernetes {{< skew currentVersion >}}, this feature gate is
163+
disabled and you need to enable it manually.
164+
You can enable it via the
161165
`SchedulerQueueingHints` [feature gate](/docs/reference/command-line-tools-reference/feature-gates/).
162166
-->
163-
在调度过程中对 QueueingHint 求值是一个 Beta 级别的特性,在 1.28 中默认被启用。
167+
在调度过程中对 QueueingHint 求值是一个 Beta 级别的特性。
168+
v1.28 的系列小版本最初都开启了这个特性的门控;但是发现了内存占用过多的问题,
169+
于是 Kubernetes 项目将该特性门控设置为默认禁用。
170+
在 Kubernetes 的 {{< skew currentVersion >}} 版本中,这个特性门控被禁用,你需要手动开启它。
164171
你可以通过 `SchedulerQueueingHints`
165-
[特性门控](/zh-cn/docs/reference/command-line-tools-reference/feature-gates/)来禁用它
172+
[特性门控](/zh-cn/docs/reference/command-line-tools-reference/feature-gates/)来启用它
166173
{{< /note >}}
167174

175+
168176
<!--
169177
### QueueSort {#queue-sort}
170178
-->
@@ -325,9 +333,9 @@ plugins") should use these phases to be notified by the scheduler when resources
325333
on a node are being reserved and unreserved for a given Pod.
326334
-->
327335
实现了 Reserve 接口的插件,拥有两个方法,即 `Reserve``Unreserve`
328-
他们分别支持两个名为 Reserve 和 Unreserve 的信息处理性质的调度阶段
336+
他们分别支持两个名为 Reserve 和 Unreserve 的信息传递性质的调度阶段
329337
维护运行时状态的插件(又称 "有状态插件")应该使用这两个阶段,
330-
以便在节点上的资源被保留和未保留给特定的 Pod 时得到调度器的通知
338+
以便在节点上的资源被保留和解除保留给特定的 Pod 时,得到调度器的通知
331339

332340
<!--
333341
The Reserve phase happens before the scheduler actually binds a Pod to its
@@ -475,28 +483,9 @@ This is an informational interface. Post-bind plugins are called after a
475483
Pod is successfully bound. This is the end of a binding cycle, and can be used
476484
to clean up associated resources.
477485
-->
478-
这是个信息性的接口
486+
这是个信息传递性质的接口
479487
PostBind 插件在 Pod 成功绑定后被调用。这是绑定周期的结尾,可用于清理相关的资源。
480488

481-
<!--
482-
### Unreserve
483-
-->
484-
### Unreserve
485-
486-
<!--
487-
This is an informational extension point. If a Pod was reserved and then
488-
rejected in a later phase, then unreserve plugins will be notified. Unreserve
489-
plugins should clean up state associated with the reserved Pod.
490-
-->
491-
这是个信息性的扩展点。
492-
如果 Pod 被保留,然后在后面的阶段中被拒绝,则 Unreserve 插件将被通知。
493-
Unreserve 插件应该清楚保留 Pod 的相关状态。
494-
495-
<!--
496-
Plugins that use this extension point usually should also use
497-
[Reserve](#reserve).
498-
-->
499-
使用此扩展点的插件通常也使用 [Reserve](#reserve)
500489

501490
<!--
502491
## Plugin API

0 commit comments

Comments
 (0)