Skip to content

Commit 6d1cc3d

Browse files
authored
Merge pull request #41479 from asa3311/sync-kube-scheduler-config.v1beta2-apparmor-components
[zh-cn] sync kube-scheduler-config.v1beta2 apparmor components
2 parents 6ba7efa + 5ad85f9 commit 6d1cc3d

File tree

3 files changed

+31
-8
lines changed

3 files changed

+31
-8
lines changed

content/zh-cn/docs/concepts/overview/components.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,18 @@ saving container logs to a central log store with search/browsing interface.
233233
[集群层面日志](/zh-cn/docs/concepts/cluster-administration/logging/)机制负责将容器的日志数据保存到一个集中的日志存储中,
234234
这种集中日志存储提供搜索和浏览接口。
235235

236+
<!--
237+
### Network Plugins
238+
239+
[Network plugins](/docs/concepts/extend-kubernetes/compute-storage-net/network-plugins) are software
240+
components that implement the container network interface (CNI) specification. They are responsible for
241+
allocating IP addresses to pods and enabling them to communicate with each other within the cluster.
242+
-->
243+
### 网络插件 {#network-plugins}
244+
245+
[网络插件](/zh-cn/docs/concepts/extend-kubernetes/compute-storage-net/network-plugins)
246+
是实现容器网络接口(CNI)规范的软件组件。它们负责为 Pod 分配 IP 地址,并使这些 Pod 能在集群内部相互通信。
247+
236248
## {{% heading "whatsnext" %}}
237249

238250
<!--

content/zh-cn/docs/reference/config-api/kube-scheduler-config.v1beta2.md

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,19 @@ matching hard affinity to the incoming pod.
107107
要对现存的、带有与新 Pod 匹配的硬性亲和性设置的 Pod 计算亲和性得分。</p>
108108
</td>
109109
</tr>
110+
<tr><td>
111+
<code>ignorePreferredTermsOfExistingPods</code> <B>[Required]</B><br/>
112+
<code>bool</code>
113+
</td>
114+
<td>
115+
<!--
116+
IgnorePreferredTermsOfExistingPods configures the scheduler to ignore existing pods' preferred affinity
117+
rules when scoring candidate nodes, unless the incoming pod has inter-pod affinities.
118+
-->
119+
<p>IgnorePreferredTermsOfExistingPods 配置调度器在为候选节点评分时,
120+
忽略现有 Pod 的优选亲和性规则,除非传入的 Pod 有 Pod 间的亲和性。</p>
121+
</td>
122+
</tr>
110123
</tbody>
111124
</table>
112125

@@ -292,7 +305,7 @@ NodeAffinityArgs holds arguments to configure the NodeAffinity plugin.
292305
<tr><td><code>kind</code><br/>string</td><td><code>NodeAffinityArgs</code></td></tr>
293306

294307
<tr><td><code>addedAffinity</code><br/>
295-
<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#nodeaffinity-v1-core"><code>core/v1.NodeAffinity</code></a>
308+
<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.27/#nodeaffinity-v1-core"><code>core/v1.NodeAffinity</code></a>
296309
</td>
297310
<td>
298311
<!--
@@ -412,7 +425,7 @@ PodTopologySpreadArgs holds arguments used to configure the PodTopologySpread pl
412425
<tr><td><code>kind</code><br/>string</td><td><code>PodTopologySpreadArgs</code></td></tr>
413426

414427
<tr><td><code>defaultConstraints</code><br/>
415-
<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#topologyspreadconstraint-v1-core"><code>[]core/v1.TopologySpreadConstraint</code></a>
428+
<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.27/#topologyspreadconstraint-v1-core"><code>[]core/v1.TopologySpreadConstraint</code></a>
416429
</td>
417430
<td>
418431
<!--
@@ -1559,10 +1572,10 @@ client.</p>
15591572
</td>
15601573
<td>
15611574
<!--
1562-
<p>enableContentionProfiling enables lock contention profiling, if
1575+
<p>enableContentionProfiling enables block profiling, if
15631576
enableProfiling is true.</p>
15641577
-->
1565-
<p>此字段在 <code>enableProfiling</code> 为 true 时允许执行锁竞争分析。</p>
1578+
<p>此字段在 <code>enableProfiling</code> 为 true 时启用阻塞分析。</p>
15661579
</td>
15671580
</tr>
15681581
</tbody>

content/zh-cn/docs/tutorials/security/apparmor.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -193,12 +193,10 @@ gke-test-default-pool-239f5d02-xwux: kubelet is posting ready status. AppArmor e
193193
{{< note >}}
194194
<!--
195195
AppArmor is currently in beta, so options are specified as annotations. Once support graduates to
196-
general availability, the annotations will be replaced with first-class fields (more details in
197-
[Upgrade path to GA](#upgrade-path-to-general-availability)).
196+
general availability, the annotations will be replaced with first-class fields.
198197
-->
199198
AppArmor 目前处于 Beta 阶段,因此选项以注解形式设定。
200-
一旦 AppArmor 支持进入正式发布阶段,注解将被替换为一阶的资源字段
201-
(更多详情参见[升级到 GA 的途径](#upgrade-path-to-general-availability))。
199+
一旦 AppArmor 支持进入正式发布阶段,注解将被替换为一阶的资源字段。
202200
{{< /note >}}
203201

204202
<!--

0 commit comments

Comments
 (0)