@@ -92,13 +92,27 @@ the pod can be accepted or rejected from the node based on the selected hint.
92
92
The hint is then stored in the Topology Manager for use by the *Hint Providers* when making the
93
93
resource allocation decisions.
94
94
-->
95
- 拓扑管理器从 ** 建议提供者** 接收拓扑信息,作为表示可用的 NUMA 节点和首选分配指示的位掩码。
95
+ 拓扑管理器从** 建议提供者** 接收拓扑信息,作为表示可用的 NUMA 节点和首选分配指示的位掩码。
96
96
拓扑管理器策略对所提供的建议执行一组操作,并根据策略对提示进行约减以得到最优解。
97
97
如果存储了与预期不符的建议,则该建议的优选字段将被设置为 false。
98
98
在当前策略中,首选是最窄的优选掩码。
99
99
所选建议将被存储为拓扑管理器的一部分。
100
100
取决于所配置的策略,所选建议可用来决定节点接受或拒绝 Pod。
101
- 之后,建议���被存储在拓扑管理器中,供 ** 建议提供者** 在作资源分配决策时使用。
101
+ 之后,建议会被存储在拓扑管理器中,供** 建议提供者** 在作资源分配决策时使用。
102
+
103
+ <!--
104
+ ## Windows Support
105
+ -->
106
+ ## Windows 支持
107
+
108
+ {{< feature-state feature_gate_name="WindowsCPUAndMemoryAffinity" >}}
109
+
110
+ <!--
111
+ The Topology Manager support can be enabled on Windows by using the `WindowsCPUAndMemoryAffinity` feature gate and
112
+ it requires support in the container runtime.
113
+ -->
114
+ 拓扑管理器支持可以通过使用 ` WindowsCPUAndMemoryAffinity ` 特性门控在 Windows 上启用,
115
+ 并且需要容器运行时的支持。
102
116
103
117
<!--
104
118
## Topology manager scopes and policies
@@ -321,7 +335,7 @@ will result with **the same** topology alignment decision.
321
335
-->
322
336
如果拓扑管理器配置使用 ** pod** 作用域,
323
337
那么在策略评估一个容器时,该容器反映的是整个 Pod 的要求,
324
- 所以该 Pod 里的每个容器都会应用 ** 相同的** 拓扑对齐决策。
338
+ 所以该 Pod 里的每个容器都会应用** 相同的** 拓扑对齐决策。
325
339
{{< /note >}}
326
340
327
341
<!--
@@ -403,7 +417,7 @@ admission failure.
403
417
对于 Pod 中的每个容器,配置了 ` single-numa-node ` 拓扑管理策略的
404
418
kubelet 调用每个建议提供者以确定其资源可用性。
405
419
使用此信息,拓扑管理器确定是否支持单 NUMA 节点亲和性。
406
- 如果支持,则拓扑管理器将存储此信息,然后 ** 建议提供者** 可以在做出资源分配决定时使用此信息。
420
+ 如果支持,则拓扑管理器将存储此信息,然后** 建议提供者** 可以在做出资源分配决定时使用此信息。
407
421
如果不支持,则拓扑管理器将拒绝 Pod 运行于该节点。
408
422
这将导致 Pod 处于 ` Terminated ` 状态,且 Pod 无法被节点接受。
409
423
@@ -446,19 +460,18 @@ You will still have to enable each option using the `TopologyManagerPolicyOption
446
460
你仍然需要使用 ` TopologyManagerPolicyOptions ` kubelet 选项来启用每个选项。
447
461
448
462
<!--
449
- ### `prefer-closest-numa-nodes` (beta) {#policy-option-prefer-closest-numa-nodes}
463
+ ### `prefer-closest-numa-nodes` {#policy-option-prefer-closest-numa-nodes}
450
464
451
- The `prefer-closest-numa-nodes` option is beta since Kubernetes 1.28. In Kubernetes {{< skew currentVersion >}}
452
- this policy option is visible by default provided that the `TopologyManagerPolicyOptions` and
453
- `TopologyManagerPolicyBetaOptions` [feature gates](/docs/reference/command-line-tools-reference/feature-gates/)
454
- are enabled.
465
+ The `prefer-closest-numa-nodes` option is GA since Kubernetes 1.32. In Kubernetes {{< skew currentVersion >}}
466
+ this policy option is visible by default provided that the `TopologyManagerPolicyOptions`
467
+ [feature gate](/docs/reference/command-line-tools-reference/feature-gates/) is enabled.
455
468
-->
456
- ### ` prefer-closest-numa-nodes ` (Beta) {#policy-option-prefer-closest-numa-nodes}
469
+ ### ` prefer-closest-numa-nodes ` {#policy-option-prefer-closest-numa-nodes}
457
470
458
- 自 Kubernetes 1.28 起,` prefer-closest-numa-nodes ` 选项进入 Beta 阶段。
471
+ 自 Kubernetes 1.32 起,` prefer-closest-numa-nodes ` 选项进入 GA 阶段。
459
472
在 Kubernetes {{< skew currentVersion >}} 中,只要启用了
460
- ` TopologyManagerPolicyOptions ` 和 ` TopologyManagerPolicyBetaOptions `
461
- [ 特性门控 ] ( /zh-cn/docs/reference/command-line-tools-reference/feature-gates/ ) , 此策略选项默认可见。
473
+ ` TopologyManagerPolicyOptions ` [ 特性门控 ] ( /zh-cn/docs/reference/command-line-tools-reference/feature-gates/ ) ,
474
+ 此策略选项默认可见。
462
475
463
476
<!--
464
477
The Topology Manager is not aware by default of NUMA distances, and does not take them into account when making
0 commit comments