Date: Tue, 1 Oct 2024 06:42:33 +0800
Subject: [PATCH 18/61] [zh] Sync config-api/kubelet-config.v1beta1.md
---
.../config-api/kubelet-config.v1beta1.md | 115 ++++++++++++------
1 file changed, 75 insertions(+), 40 deletions(-)
diff --git a/content/zh-cn/docs/reference/config-api/kubelet-config.v1beta1.md b/content/zh-cn/docs/reference/config-api/kubelet-config.v1beta1.md
index d9a6fae47e..39a4ed23f5 100644
--- a/content/zh-cn/docs/reference/config-api/kubelet-config.v1beta1.md
+++ b/content/zh-cn/docs/reference/config-api/kubelet-config.v1beta1.md
@@ -13,7 +13,7 @@ auto_generated: true
-## 资源类型
+## 资源类型 {#resource-types}
- [CredentialProviderConfig](#kubelet-config-k8s-io-v1beta1-CredentialProviderConfig)
- [KubeletConfiguration](#kubelet-config-k8s-io-v1beta1-KubeletConfiguration)
@@ -97,7 +97,7 @@ JSONOptions 包含为 "json" 日志格式提供的选项。
(OutputRoutingOptions 的成员嵌入到此类型中。)
没有提供描述。
@@ -108,11 +108,13 @@ JSONOptions 包含为 "json" 日志格式提供的选项。
## `LogFormatFactory` {#LogFormatFactory}
+
- LogFormatFactory 提供了对某些附加的、非默认的日志格式的支持。
+LogFormatFactory 提供了对某些附加的、非默认的日志格式的支持。
+
## `LoggingConfiguration` {#LoggingConfiguration}
@@ -123,10 +125,12 @@ non-default log format.
- [KubeletConfiguration](#kubelet-config-k8s-io-v1beta1-KubeletConfiguration)
+
LoggingConfiguration 包含日志选项。
+
字段 | 描述 |
@@ -273,8 +277,8 @@ certain global defaults.
-
OutputRoutingOptions 包含 "text" 和 "json" 支持的选项。
+
Field | 描述< |
@@ -311,7 +315,7 @@ Only available when the LoggingAlphaOptions feature gate is enabled.
-## `TextOptions` {#TextOptions}
+## `TextOptions` {#TextOptions}
描述
@@ -406,10 +409,12 @@ flushFrequency field, and new fields should use metav1.Duration.
- [KubeletConfiguration](#kubelet-config-k8s-io-v1beta1-KubeletConfiguration)
+
- TracingConfiguration 为 OpenTelemetry 追踪客户端提供版本化的配置信息。
+TracingConfiguration 为 OpenTelemetry 追踪客户端提供版本化的配置信息。
+
字段 | 描述 |
@@ -458,12 +463,14 @@ rate, but otherwise never samples.
- [LoggingConfiguration](#LoggingConfiguration)
+
VModuleConfiguration 是一个集合,其中包含一个个文件名(或文件名模式)
及其对应的详细程度阈值。
+
## `VerbosityLevel` {#VerbosityLevel}
@@ -479,13 +486,16 @@ VModuleConfiguration 是一个集合,其中包含一个个文件名(或文
- [LoggingConfiguration](#LoggingConfiguration)
+
- VerbosityLevel 表示 klog 或 logr 的详细程度(verbosity)阈值。
+VerbosityLevel 表示 klog 或 logr 的详细程度(verbosity)阈值。
+
## `CredentialProviderConfig` {#kubelet-config-k8s-io-v1beta1-CredentialProviderConfig}
+
CredentialProviderConfig 包含有关每个 exec 凭据提供者的配置信息。
Kubelet 从磁盘上读取这些配置信息,并根据 CredentialProvider 类型启用各个提供者。
+
字段 | 描述 |
@@ -525,10 +536,12 @@ auth keys, the value from the provider earlier in this list is used.
## `KubeletConfiguration` {#kubelet-config-k8s-io-v1beta1-KubeletConfiguration}
+
KubeletConfiguration 中包含 Kubelet 的配置。
+
字段 | 描述 |
@@ -1132,8 +1145,8 @@ collected based on being unused for too long.
Default: "0s" (disabled)
-->
imageMaximumGCAge 是对未使用镜像进行垃圾收集之前允许其存在的时长。
- 此字段的默认值为 "0s",表示禁用此字段,这意味着镜像不会因为过长时间不使用而被垃圾收集。
- 默认值:"0s"(已禁用)
+ 此字段的默认值为 "0s",表示禁用此字段,这意味着镜像不会因为过长时间不使用而被垃圾收集。
+ 默认值:"0s"(已禁用)
@@ -2109,8 +2122,7 @@ Default: ""
-->
systemReservedCgroup 帮助 kubelet 识别用来为 OS 系统级守护进程实施
systemReserved 计算资源预留时使用的顶级控制组(CGroup)。
-参考 Node Allocatable
-以了解详细信息。
+更多细节参阅节点可分配资源。
默认值:""
@@ -2129,8 +2141,7 @@ Default: ""
-->
kubeReservedCgroup 帮助 kubelet 识别用来为 Kubernetes 节点系统级守护进程实施
kubeReserved 计算资源预留时使用的顶级控制组(CGroup)。
-参阅 Node Allocatable
-了解进一步的信息。
+更多细节参阅节点可分配资源
默认值:""
@@ -2158,8 +2169,7 @@ Default: ["pods"]
如果列表中包含 system-reserved ,则必须设置 systemReservedCgroup 。
如果列表中包含 kube-reserved ,则必须设置 kubeReservedCgroup 。
这个字段只有在 cgroupsPerQOS 被设置为 true 才被支持。
- 参阅Node Allocatable
-了解进一步的信息。
+ 更多细节参阅节点可分配资源。
默认值:["pods"]
@@ -2365,6 +2375,7 @@ Default: nil
[]MemoryReservation
+
- reservedMemory 给出一个逗号分隔的列表,为 NUMA 节点预留内存。
- 此参数仅在内存管理器功能特性语境下有意义。内存管理器不会为容器负载分配预留内存。
+ reservedMemory 给出一个逗号分隔的列表,为 NUMA 节点预留内存。
+ 此参数仅在内存管理器功能特性语境下有意义。内存管理器不会为容器负载分配预留内存。
例如,如果你的 NUMA0 节点内存为 10Gi,reservedMemory 设置为在 NUMA0
-上预留 1Gi 内存,内存管理器会认为其上只有 9Gi 内存可供分配。
- 你可以设置不同数量的 NUMA 节点和内存类型。你也可以完全忽略这个字段,不过你要清楚,
+上预留 1Gi 内存,内存管理器会认为其上只有 9Gi 内存可供分配。
+ 你可以设置不同数量的 NUMA 节点和内存类型。你也可以完全忽略这个字段,不过你要清楚,
所有 NUMA 节点上预留内存的总量要等于通过
-node allocatable
-设置的内存量。
- 如果至少有一个节点可分配参数设置值非零,则你需要设置至少一个 NUMA 节点。
- 此外,避免如下设置:
+节点可分配资源设置的内存量。
+ 如果至少有一个节点可分配参数设置值非零,则你需要设置至少一个 NUMA 节点。
+ 此外,避免如下设置:
+
+
- 在配置值中存在重复项,NUMA 节点和内存类型相同,但配置值不同,这是不允许的。
- 为任何内存类型设置限制值为零。
- NUMA 节点 ID 在宿主系统上不存在。/li>
- 除
memory 和 hugepages-<size> 之外的内存类型。
- 默认值:nil
+
+
+ 默认值:nil
+
|
@@ -2415,7 +2431,7 @@ Also, avoid specifying:
enableProfilingHandler enables profiling via web interface host:port/debug/pprof/
Default: true
-->
- enableProfilingHandler 启用通过 host:port/debug/pprof/ 接口来执行性能分析。
+ enableProfilingHandler 启用通过 host:port/debug/pprof/ 接口来执行性能分析。
默认值:true
@@ -2428,7 +2444,7 @@ Default: true
enableDebugFlagsHandler enables flags endpoint via web interface host:port/debug/flags/v
Default: true
-->
- enableDebugFlagsHandler 启用通过 host:port/debug/flags/v Web
+
enableDebugFlagsHandler 启用通过 host:port/debug/flags/v Web
接口上的标志设置。
默认值:true
@@ -2470,7 +2486,7 @@ Default: 0.8
registerWithTaints
-[]core/v1.Taint
+[]core/v1.Taint
|
+ failCgroupV1 防止 kubelet 在使用 cgroup v1 的主机上启动。
+默认情况下,此选项设置为 “false”,这意味着除非此选项被显式启用,
+否则 kubelet 被允许在 cgroup v1 主机上启动。
+默认值:false
+
+ |
+
@@ -2585,7 +2620,7 @@ SerializedNodeConfigSource 允许对 `v1.NodeConfigSource` 执行序列化操作
kind string | SerializedNodeConfigSource |
source
-core/v1.NodeConfigSource
+core/v1.NodeConfigSource
|
matchImages 中的每个条目都是一个模式字符串,其中可以包含端口号和路径。
域名部分可以包含统配符,但端口或路径部分不可以。通配符可以用作子域名,例如
-*.k8s.io 或 k8s.*.io ,以及顶级域名,如 k8s.* 。
-对类似 app*.k8s.io 这类部分子域名的匹配也是支持的。
+*.k8s.io 或 k8s.*.io ,以及顶级域名,如 k8s.* 。
+对类似 app*.k8s.io 这类部分子域名的匹配也是支持的。
每个通配符只能用来匹配一个子域名段,所以 *.io 不会匹配 *.k8s.io 。
[必需]
-core/v1.ResourceList
+core/v1.ResourceList
|
From 92f72b039903d35bda3ade98945eae1281978f90 Mon Sep 17 00:00:00 2001
From: RfieWang
Date: Tue, 1 Oct 2024 11:59:33 +0800
Subject: [PATCH 19/61] [zh-cn] sync
/docs/concepts/security/cloud-native-security.md
---
.../zh-cn/docs/concepts/security/cloud-native-security.md | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/content/zh-cn/docs/concepts/security/cloud-native-security.md b/content/zh-cn/docs/concepts/security/cloud-native-security.md
index 636fdb1f89..08a1dcfe2b 100644
--- a/content/zh-cn/docs/concepts/security/cloud-native-security.md
+++ b/content/zh-cn/docs/concepts/security/cloud-native-security.md
@@ -180,11 +180,11 @@ layers expect.
## 运行阶段 {#lifecycle-phase-runtime}
-运行阶段包含三个关键领域:[计算](#protection-runtime-compute),
-[访问](#protection-runtime-access)和[存储](#protection-runtime-storage)。
+运行阶段包含三个关键领域:[访问](#protection-runtime-access)、
+[计算](#protection-runtime-compute)和[存储](#protection-runtime-storage)。
From 777c36c318b5fed234a20a1b2755a8dc13041173 Mon Sep 17 00:00:00 2001
From: RfieWang
Date: Thu, 3 Oct 2024 10:03:07 +0800
Subject: [PATCH 27/61] [zh-cn] sync
docs/concepts/scheduling-eviction/topology-spread-constraints.md
---
.../scheduling-eviction/topology-spread-constraints.md | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/content/zh-cn/docs/concepts/scheduling-eviction/topology-spread-constraints.md b/content/zh-cn/docs/concepts/scheduling-eviction/topology-spread-constraints.md
index f72f8b9db6..66bb47a2aa 100644
--- a/content/zh-cn/docs/concepts/scheduling-eviction/topology-spread-constraints.md
+++ b/content/zh-cn/docs/concepts/scheduling-eviction/topology-spread-constraints.md
@@ -745,8 +745,8 @@ There are some implicit conventions worth noting here:
- Only the Pods holding the same namespace as the incoming Pod can be matching candidates.
-- The scheduler bypasses any nodes that don't have any `topologySpreadConstraints[*].topologyKey`
- present. This implies that:
+- The scheduler only considers nodes that have all `topologySpreadConstraints[*].topologyKey` present at the same time.
+ Nodes missing any of these `topologyKeys` are bypassed. This implies that:
1. any Pods located on those bypassed nodes do not impact `maxSkew` calculation - in the
above [example](#example-conflicting-topologyspreadconstraints), suppose the node `node1`
@@ -763,7 +763,7 @@ There are some implicit conventions worth noting here:
- 只有与新来的 Pod 具有相同命名空间的 Pod 才能作为匹配候选者。
-- 调度器会忽略没有任何 `topologySpreadConstraints[*].topologyKey` 的节点。这意味着:
+- 调度器只考虑同时拥有所有 `topologySpreadConstraints[*].topologyKey` 的节点。缺少任何一个 `topologyKey` 的节点将被跳过。这意味着:
1. 位于这些节点上的 Pod 不影响 `maxSkew` 计算,在上面的[例子](#example-conflicting-topologyspreadconstraints)中,
假设节点 `node1` 没有标签 "zone",则 2 个 Pod 将被忽略,因此新来的
From 3b267126e97476770e64ae2c517bc756f9919c59 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Simon=20B=C3=A4umer?=
Date: Thu, 3 Oct 2024 06:38:26 +0200
Subject: [PATCH 28/61] Add checkpoint subresource to Kublet authorization doc
(#48012)
* Add checkpoint subresource to Kublet authorization doc
* Update kubelet-authn-authz.md
* Replace `spec` with `checkpoint` in subresource
---
.../access-authn-authz/kubelet-authn-authz.md | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
diff --git a/content/en/docs/reference/access-authn-authz/kubelet-authn-authz.md b/content/en/docs/reference/access-authn-authz/kubelet-authn-authz.md
index 0db75a381e..87c6dde16c 100644
--- a/content/en/docs/reference/access-authn-authz/kubelet-authn-authz.md
+++ b/content/en/docs/reference/access-authn-authz/kubelet-authn-authz.md
@@ -65,13 +65,14 @@ DELETE | delete
The resource and subresource is determined from the incoming request's path:
-Kubelet API | resource | subresource
--------------|----------|------------
-/stats/\* | nodes | stats
-/metrics/\* | nodes | metrics
-/logs/\* | nodes | log
-/spec/\* | nodes | spec
-*all others* | nodes | proxy
+Kubelet API | resource | subresource
+--------------------|----------|------------
+/stats/\* | nodes | stats
+/metrics/\* | nodes | metrics
+/logs/\* | nodes | log
+/spec/\* | nodes | spec
+/checkpoint/\* | nodes | checkpoint
+*all others* | nodes | proxy
The namespace and API group attributes are always an empty string, and
the resource name is always the name of the kubelet's `Node` API object.
From be29c56506bd9a887311e98bc65c055bf97146cf Mon Sep 17 00:00:00 2001
From: "xin.li"
Date: Thu, 3 Oct 2024 16:50:39 +0800
Subject: [PATCH 29/61] [zh-cn]sync pr-wranglers linkchecker/README
Signed-off-by: xin.li
---
.../contribute/participate/pr-wranglers.md | 60 ++++++++++---------
.../linkchecker/README.md | 41 +++++++++----
2 files changed, 60 insertions(+), 41 deletions(-)
diff --git a/content/zh-cn/docs/contribute/participate/pr-wranglers.md b/content/zh-cn/docs/contribute/participate/pr-wranglers.md
index c2e6e8fec3..4e24cd9704 100644
--- a/content/zh-cn/docs/contribute/participate/pr-wranglers.md
+++ b/content/zh-cn/docs/contribute/participate/pr-wranglers.md
@@ -18,8 +18,8 @@ for the repository.
This section covers the duties of a PR wrangler. For more information on giving good reviews,
see [Reviewing changes](/docs/contribute/review/).
-->
-SIG Docs 的[批准人(Approver)](/zh-cn/docs/contribute/participate/roles-and-responsibilities/#approvers)们每周轮流负责
-[管理仓库的 PR](https://github.com/kubernetes/website/wiki/PR-Wranglers)。
+SIG Docs 的[批准人(Approver)](/zh-cn/docs/contribute/participate/roles-and-responsibilities/#approvers)
+们每周轮流负责[管理仓库的 PR](https://github.com/kubernetes/website/wiki/PR-Wranglers)。
本节介绍 PR 管理者的职责。关于如何提供较好的评审意见,
可参阅[评审变更](/zh-cn/docs/contribute/review/)。
@@ -33,7 +33,8 @@ Each day in a week-long shift as PR Wrangler:
- Review [open pull requests](https://github.com/kubernetes/website/pulls) for quality
and adherence to the [Style](/docs/contribute/style/style-guide/) and
[Content](/docs/contribute/style/content-guide/) guides.
- - Start with the smallest PRs (`size/XS`) first, and end with the largest (`size/XXL`). Review as many PRs as you can.
+ - Start with the smallest PRs (`size/XS`) first, and end with the largest (`size/XXL`).
+ Review as many PRs as you can.
-->
## 职责 {#duties}
@@ -47,15 +48,15 @@ Each day in a week-long shift as PR Wrangler:
PR(`size/XXL`),尽可能多地评审 PR。
- 确保贡献者签署 [CLA](https://github.com/kubernetes/community/blob/master/CLA.md)。
- 使用[此脚本](https://github.com/zparnold/k8s-docs-pr-botherer)自动提醒尚未签署
@@ -69,13 +70,13 @@ Each day in a week-long shift as PR Wrangler:
[SIG](https://github.com/kubernetes/community/blob/master/sig-list.md) 来评审。
- 使用 `/approve` 评论来批准可以合并的 PR,在 PR 就绪时将其合并。
- PR 在被合并之前,应该有来自其他成员的 `/lgtm` 评论。
@@ -87,7 +88,8 @@ Each day in a week-long shift as PR Wrangler:
这有助于接纳新的贡献者。
PR 管理者的职责不适用于本地化 PR(非英语 PR)。
本地化团队有自己的流程和团队来审查其语言 PR。
@@ -201,10 +204,11 @@ These queries exclude localization PRs. All queries are against the main branch
Reviews and approvals are one tool to keep our PR queue short and current. Another tool is closure.
Close PRs where:
+
- The author hasn't signed the CLA for two weeks.
- Authors can reopen the PR after signing the CLA. This is a low-risk way to make
- sure nothing gets merged without a signed CLA.
+ Authors can reopen the PR after signing the CLA. This is a low-risk way to make
+ sure nothing gets merged without a signed CLA.
- The author has not responded to comments or feedback in 2 or more weeks.
@@ -237,7 +241,7 @@ and closes them. PR wranglers should close issues after 14-30 days of inactivity
-->
一个名为 [`k8s-ci-robot`](https://github.com/k8s-ci-robot) 的自动服务会在 Issue 停滞 90
天后自动将其标记为过期;然后再等 30 天,如果仍然无人过问,则将其关闭。
-PR 管理者应该在 issues 处于无人过问状态 14-30 天后关闭它们。
+PR 管理者应该在 Issue 处于无人过问状态 14-30 天后关闭它们。
{{< /note >}}
你可以使用 [htmltest](https://github.com/wjdp/htmltest) 来检查
[`/content/en/`](https://git.k8s.io/website/content/en/) 下面的失效链接。
@@ -16,15 +18,18 @@ You can use [htmltest](https://github.com/wjdp/htmltest) to check for broken lin
## 工作原理 {#how-the-tool-works}
`htmltest` 会扫描 Kubernetes website 仓库构建生成的 HTML 文件。通过执行 `make` 命令进行了下列操作:
- 构建站点并输出 HTML 到本地 `kubernetes/website` 仓库下的 `/public` 目录中
- 拉取 Docker 镜像 `wdjp/htmltest`
@@ -37,7 +42,10 @@ You can use [htmltest](https://github.com/wjdp/htmltest) to check for broken lin
## 哪些链接不会检查 {#what-it-does-and-doesnot-check}
@@ -47,8 +55,10 @@ The link checker scans the following:
该链接检查器扫描以下内容:
- 包含在顶部和侧边导航栏的链接,以及页脚链接或者页面的 `` 部分中的链接,例如 CSS 样式表、脚本以及元信息的链接。
- 顶级页面及其子页面,例如:`/training`、`/community`、`/case-studies/adidas`
- 博客文章
-- API 参考文档,例如: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.18/
+- API 参考文档,例如 https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.18/
- 本地化内容
必须安装:
+
* [Docker](https://docs.docker.com/get-docker/)
* [make](https://www.gnu.org/software/make/)
@@ -109,7 +122,7 @@ To run the link checker:
2. 执行如下命令:
- ```
+ ```shell
make container-internal-linkcheck
```
@@ -152,8 +165,10 @@ One way to fix this is to:
1. 转到含有失效链接的 Markdown 文件。
2. 使用文本编辑器全文搜索失效链接的 URL(通常使用 Ctrl+F 或 Command+F)`#preserving-unknown-fields`。
From 41bb835c9d08656adee6723b4056a49b0237ba51 Mon Sep 17 00:00:00 2001
From: "xin.li"
Date: Thu, 3 Oct 2024 17:21:12 +0800
Subject: [PATCH 30/61] [zh-cn]sync controller-revision-v1 deployment-v1
priority-class-v1
Signed-off-by: xin.li
---
.../workload-resources/controller-revision-v1.md | 4 ++--
.../workload-resources/deployment-v1.md | 12 ++++++++----
.../workload-resources/priority-class-v1.md | 4 ++--
3 files changed, 12 insertions(+), 8 deletions(-)
diff --git a/content/zh-cn/docs/reference/kubernetes-api/workload-resources/controller-revision-v1.md b/content/zh-cn/docs/reference/kubernetes-api/workload-resources/controller-revision-v1.md
index 424358eff3..07a195b27f 100644
--- a/content/zh-cn/docs/reference/kubernetes-api/workload-resources/controller-revision-v1.md
+++ b/content/zh-cn/docs/reference/kubernetes-api/workload-resources/controller-revision-v1.md
@@ -6,7 +6,7 @@ api_metadata:
content_type: "api_reference"
description: "ControllerRevision 实现了状态数据的不可变快照。"
title: "ControllerRevision"
-weight: 7
+weight: 8
---
diff --git a/content/zh-cn/docs/reference/kubernetes-api/workload-resources/deployment-v1.md b/content/zh-cn/docs/reference/kubernetes-api/workload-resources/deployment-v1.md
index 8013ef6e22..ebcd764dfd 100644
--- a/content/zh-cn/docs/reference/kubernetes-api/workload-resources/deployment-v1.md
+++ b/content/zh-cn/docs/reference/kubernetes-api/workload-resources/deployment-v1.md
@@ -6,7 +6,7 @@ api_metadata:
content_type: "api_reference"
description: "Deployment 使得 Pod 和 ReplicaSet 能够进行声明式更新。"
title: "Deployment"
-weight: 5
+weight: 6
---
@@ -291,7 +291,9 @@ DeploymentStatus 是最近观测到的 Deployment 状态。
- **conditions** ([]DeploymentCondition)
*Patch strategy: merge on key `type`*
-
+
+ *Map: unique values on key type will be kept during a merge*
+
Represents the latest available observations of a deployment's current state.
@@ -300,7 +302,9 @@ DeploymentStatus 是最近观测到的 Deployment 状态。
- **conditions** ([]DeploymentCondition)
**补丁策略:按照键 `type` 合并**
-
+
+ **Map:键 `type` 的唯一值将在合并期间保留**
+
表示 Deployment 当前状态的最新可用观测值。
diff --git a/content/zh-cn/docs/reference/kubernetes-api/workload-resources/priority-class-v1.md b/content/zh-cn/docs/reference/kubernetes-api/workload-resources/priority-class-v1.md
index e05814e115..7717a4d42c 100644
--- a/content/zh-cn/docs/reference/kubernetes-api/workload-resources/priority-class-v1.md
+++ b/content/zh-cn/docs/reference/kubernetes-api/workload-resources/priority-class-v1.md
@@ -6,7 +6,7 @@ api_metadata:
content_type: "api_reference"
description: "PriorityClass 定义了从优先级类名到优先级数值的映射。"
title: "PriorityClass"
-weight: 13
+weight: 14
auto_generated: false
---
@@ -18,7 +18,7 @@ api_metadata:
content_type: "api_reference"
description: "PriorityClass defines mapping from a priority class name to the priority integer value."
title: "PriorityClass"
-weight: 13
+weight: 14
auto_generated: true
-->
From 05c1f011d49c05d985982dea3eabb7ab68049f9a Mon Sep 17 00:00:00 2001
From: Dhriti Shikhar
Date: Thu, 3 Oct 2024 16:50:08 +0530
Subject: [PATCH 31/61] Removes repeated information
---
content/en/docs/tasks/network/customize-hosts-file-for-pods.md | 1 -
1 file changed, 1 deletion(-)
diff --git a/content/en/docs/tasks/network/customize-hosts-file-for-pods.md b/content/en/docs/tasks/network/customize-hosts-file-for-pods.md
index 507397d7ea..9b85206254 100644
--- a/content/en/docs/tasks/network/customize-hosts-file-for-pods.md
+++ b/content/en/docs/tasks/network/customize-hosts-file-for-pods.md
@@ -17,7 +17,6 @@ The Kubernetes project recommends modifying DNS configuration using the `hostAli
(part of the `.spec` for a Pod), and not by using an init container or other means to edit `/etc/hosts`
directly.
Change made in other ways may be overwritten by the kubelet during Pod creation or restart.
-made in other ways may be overwritten by the kubelet during Pod creation or restart.
From 39b49dfbf0d3bd84b727d07bfd3103c62d100041 Mon Sep 17 00:00:00 2001
From: Jason Butz <736696+jbutz@users.noreply.github.com>
Date: Thu, 3 Oct 2024 07:54:46 -0400
Subject: [PATCH 32/61] Update horizontal-pod-autoscale.md with additional
keywords
Add additional keywords to the "Migrating Deployments and StatefulSets to horizontal autoscaling" section to aid users in troubleshooting
---
.../en/docs/tasks/run-application/horizontal-pod-autoscale.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/content/en/docs/tasks/run-application/horizontal-pod-autoscale.md b/content/en/docs/tasks/run-application/horizontal-pod-autoscale.md
index f25317fef9..7fa5ee56c2 100644
--- a/content/en/docs/tasks/run-application/horizontal-pod-autoscale.md
+++ b/content/en/docs/tasks/run-application/horizontal-pod-autoscale.md
@@ -563,7 +563,7 @@ the Deployment and / or StatefulSet be removed from their
a change to that object is applied, for example via `kubectl apply -f
deployment.yaml`, this will instruct Kubernetes to scale the current number of Pods
to the value of the `spec.replicas` key. This may not be
-desired and could be troublesome when an HPA is active.
+desired and could be troublesome when an HPA is active, resulting in thrashing or flapping behavior.
Keep in mind that the removal of `spec.replicas` may incur a one-time
degradation of Pod counts as the default value of this key is 1 (reference
From 1f71b0a1a8984c92d96b11707785de7931a23941 Mon Sep 17 00:00:00 2001
From: Michael
Date: Tue, 1 Oct 2024 06:11:29 +0800
Subject: [PATCH 33/61] [zh] Sync scheduling-eviction/*.md
---
.../zh-cn/docs/concepts/scheduling-eviction/_index.md | 10 ++++------
.../docs/concepts/scheduling-eviction/api-eviction.md | 1 +
.../concepts/scheduling-eviction/assign-pod-node.md | 8 ++++----
.../scheduling-eviction/topology-spread-constraints.md | 7 ++++---
4 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/content/zh-cn/docs/concepts/scheduling-eviction/_index.md b/content/zh-cn/docs/concepts/scheduling-eviction/_index.md
index 89f7dcad05..a187dcd7cd 100644
--- a/content/zh-cn/docs/concepts/scheduling-eviction/_index.md
+++ b/content/zh-cn/docs/concepts/scheduling-eviction/_index.md
@@ -1,10 +1,9 @@
---
-title: 调度、抢占和驱逐
+title: "调度、抢占和驱逐"
weight: 95
content_type: concept
no_list: true
---
-
-## 调度
+## 调度 {#scheduling}
* [Kubernetes 调度器](/zh-cn/docs/concepts/scheduling-eviction/kube-scheduler/)
* [将 Pod 指派到节点](/zh-cn/docs/concepts/scheduling-eviction/assign-pod-node/)
@@ -50,7 +49,6 @@ Pod 以便高优先级的 Pod 可以调度运行的过程。
* [Pod 拓扑分布约束](/zh-cn/docs/concepts/scheduling-eviction/topology-spread-constraints/)
* [污点和容忍度](/zh-cn/docs/concepts/scheduling-eviction/taint-and-toleration/)
* [动态资源分配](/zh-cn/docs/concepts/scheduling-eviction/dynamic-resource-allocation)
-* [调度框架](/zh-cn/docs/concepts/scheduling-eviction/scheduling-framework)
* [调度器性能调试](/zh-cn/docs/concepts/scheduling-eviction/scheduler-perf-tuning/)
* [扩展资源的资源装箱](/zh-cn/docs/concepts/scheduling-eviction/resource-bin-packing/)
* [Pod 调度就绪](/zh-cn/docs/concepts/scheduling-eviction/pod-scheduling-readiness/)
@@ -63,7 +61,7 @@ Pod 以便高优先级的 Pod 可以调度运行的过程。
* [Node-pressure Eviction](/docs/concepts/scheduling-eviction/node-pressure-eviction/)
* [API-initiated Eviction](/docs/concepts/scheduling-eviction/api-eviction/)
-->
-## Pod 干扰
+## Pod 干扰 {#pod-disruption}
{{}}
diff --git a/content/zh-cn/docs/concepts/scheduling-eviction/api-eviction.md b/content/zh-cn/docs/concepts/scheduling-eviction/api-eviction.md
index 73be7d16ac..9ba0cc3a44 100644
--- a/content/zh-cn/docs/concepts/scheduling-eviction/api-eviction.md
+++ b/content/zh-cn/docs/concepts/scheduling-eviction/api-eviction.md
@@ -8,6 +8,7 @@ title: API-initiated Eviction
content_type: concept
weight: 110
-->
+
{{< glossary_definition term_id="api-eviction" length="short" >}}
你可以约束一个 {{< glossary_tooltip text="Pod" term_id="pod" >}}
以便**限制**其只能在特定的{{< glossary_tooltip text="节点" term_id="node" >}}上运行,
-或优先在特定的节点上运行。有几种方法可以实现这点,推荐的方法都是用
-[标签选择算符](/zh-cn/docs/concepts/overview/working-with-objects/labels/)来进行选择。
+或优先在特定的节点上运行。有几种方法可以实现这点,
+推荐的方法都是用[标签选择算符](/zh-cn/docs/concepts/overview/working-with-objects/labels/)来进行选择。
通常这样的约束不是必须的,因为调度器将自动进行合理的放置(比如,将 Pod 分散到节点上,
而不是将 Pod 放置在可用资源不足的节点上等等)。但在某些情况下,你可能需要进一步控制
Pod 被部署到哪个节点。例如,确保 Pod 最终落在连接了 SSD 的机器上,
@@ -1118,8 +1118,8 @@ The following operators can only be used with `nodeAffinity`.
-->
| 操作符 | 行为 |
| :------------: | :-------------: |
-| `Gt` | 字段值将被解析为整数,并且该整数小于通过解析此选择算符命名的标签的值所得到的整数 |
-| `Lt` | 字段值将被解析为整数,并且该整数大于通过解析此选择算符命名的标签的值所得到的整数 |
+| `Gt` | 字段值将被解析为整数,并且该整数小于通过解析此选择算符命名的标签的值所得到的整数 |
+| `Lt` | 字段值将被解析为整数,并且该整数大于通过解析此选择算符命名的标签的值所得到的整数 |
{{}}
当 DNS 配置以及其它选项不合理的时候,通过向 Pod 的 `/etc/hosts` 文件中添加条目,
可以在 Pod 级别覆盖对主机名的解析。你可以通过 PodSpec 的 HostAliases
字段来添加这些自定义条目。
-建议通过使用 HostAliases 来进行修改,因为该文件由 Kubelet 管理,并且
-可以在 Pod 创建/重启过程中被重写。
+Kubernetes 项目建议使用 `hostAliases` 字段(Pod `.spec` 的一部分)来修改 DNS 配置,
+而不是通过使用 Init 容器或其他方式直接编辑 `/etc/hosts`。
+以其他方式所做的更改可能会在 Pod 创建或重启过程中被 kubelet 重写。
@@ -36,7 +39,7 @@ Modification not using HostAliases is not suggested because the file is managed
Start an Nginx Pod which is assigned a Pod IP:
-->
-## 默认 hosts 文件内容
+## 默认 hosts 文件内容 {#default-hosts-file-content}
让我们从一个 Nginx Pod 开始,该 Pod 被分配一个 IP:
@@ -65,7 +68,7 @@ nginx 1/1 Running 0 13s 10.200.0.4 worker0
-主机文件的内容如下所示:
+hosts 文件的内容如下所示:
```shell
kubectl exec nginx -- cat /etc/hosts
@@ -97,7 +100,7 @@ For example: to resolve `foo.local`, `bar.local` to `127.0.0.1` and `foo.remote`
`bar.remote` to `10.1.2.3`, you can configure HostAliases for a Pod under
`.spec.hostAliases`:
-->
-## 通过 HostAliases 增加额外条目
+## 通过 HostAliases 增加额外条目 {#adding-additional-entries-with-hostaliases}
除了默认的样板内容,你可以向 `hosts` 文件添加额外的条目。
例如,要将 `foo.local`、`bar.local` 解析为 `127.0.0.1`,
From 9f8f9096038dadca0fe139ad536a91749c2bd665 Mon Sep 17 00:00:00 2001
From: windsonsea
Date: Fri, 4 Oct 2024 09:20:36 +0800
Subject: [PATCH 35/61] [zh] Sync kubelet-authn-authz.md
---
.../access-authn-authz/kubelet-authn-authz.md | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/content/zh-cn/docs/reference/access-authn-authz/kubelet-authn-authz.md b/content/zh-cn/docs/reference/access-authn-authz/kubelet-authn-authz.md
index 7dd8155d5a..1b792b2e40 100644
--- a/content/zh-cn/docs/reference/access-authn-authz/kubelet-authn-authz.md
+++ b/content/zh-cn/docs/reference/access-authn-authz/kubelet-authn-authz.md
@@ -148,7 +148,14 @@ The resource and subresource is determined from the incoming request's path:
资源和子资源是根据传入请求的路径确定的:
Kubelet API | 资源 | 子资源
-------------|----------|------------
@@ -156,6 +163,7 @@ Kubelet API | 资源 | 子资源
/metrics/\* | nodes | metrics
/logs/\* | nodes | log
/spec/\* | nodes | spec
+/checkpoint/\* | nodes | checkpoint
**其它所有** | nodes | proxy
@@ -141,6 +144,9 @@ the request will not be authenticated.
将作为额外的“私有声明”存储在所发布的 JWT 中。
当将被绑定的令牌提供给 kube-apiserver 时,服务帐户身份认证组件将提取并验证这些声明。
+如果所引用的对象或 ServiceAccount 正处于删除中(例如,由于 finalizer 的原因),
+那么在 `.metadata.deletionTimestamp` 时间戳之后的 60 秒(或更长时间)后的某一时刻,
+使用该令牌进行身份认证将会失败。
如果所引用的对象不再存在(或其 `metadata.uid` 不匹配),则请求将无法通过认证。
- **subjects** ([]Subject)
+ **原子性:将在合并期间被替换**
+
Subjects 包含角色所适用的对象的引用。
From b52c517b5ebb71fb344846b2291553021ded221f Mon Sep 17 00:00:00 2001
From: "xin.li"
Date: Thu, 3 Oct 2024 17:55:38 +0800
Subject: [PATCH 38/61] [zh-cn] sync token-review-v1 namespace-v1
Signed-off-by: xin.li
---
.../authentication-resources/token-review-v1.md | 15 +++++++++++++++
.../cluster-resources/namespace-v1.md | 16 +++++++++++++---
2 files changed, 28 insertions(+), 3 deletions(-)
diff --git a/content/zh-cn/docs/reference/kubernetes-api/authentication-resources/token-review-v1.md b/content/zh-cn/docs/reference/kubernetes-api/authentication-resources/token-review-v1.md
index 572eb316be..8e51136e38 100644
--- a/content/zh-cn/docs/reference/kubernetes-api/authentication-resources/token-review-v1.md
+++ b/content/zh-cn/docs/reference/kubernetes-api/authentication-resources/token-review-v1.md
@@ -77,8 +77,12 @@ TokenReviewPec 是对令牌身份验证请求的描述。
- **audiences** ([]string)
+ **原子性:将在合并期间被替换**
+
audiences 是带有令牌的资源服务器标识为受众的标识符列表。
受众感知令牌身份验证器将验证令牌是否适用于此列表中的至少一个受众。
如果未提供受众,受众将默认为 Kubernetes API 服务器的受众。
@@ -102,8 +106,13 @@ TokenReviewStatus 是令牌认证请求的结果。
- **audiences** ([]string)
+
+ **原子性:将在合并期间被替换**
+
audiences 是身份验证者选择的与 TokenReview 和令牌兼容的受众标识符。标识符是
TokenReviewSpec 受众和令牌受众的交集中的任何标识符。设置 spec.audiences
字段的 TokenReview API 的客户端应验证在 status.audiences 字段中返回了兼容的受众标识符,
@@ -146,6 +155,12 @@ TokenReviewStatus 是令牌认证请求的结果。
- **user.groups** ([]string)
+
+
+ **Atomic:将在合并期间被替换**
+
diff --git a/content/zh-cn/docs/reference/kubernetes-api/cluster-resources/namespace-v1.md b/content/zh-cn/docs/reference/kubernetes-api/cluster-resources/namespace-v1.md
index 6573a68225..8fec41162d 100644
--- a/content/zh-cn/docs/reference/kubernetes-api/cluster-resources/namespace-v1.md
+++ b/content/zh-cn/docs/reference/kubernetes-api/cluster-resources/namespace-v1.md
@@ -6,7 +6,7 @@ api_metadata:
content_type: "api_reference"
description: "Namespace 为名字提供作用域。"
title: "Namespace"
-weight: 2
+weight: 7
---
@@ -69,6 +69,12 @@ NamespaceSpec 用于描述 Namespace 的属性。
finalizers 是一个不透明的值列表,只有此列表为空时才能从存储中永久删除对象。 更多信息: https://kubernetes.io/zh-cn/docs/tasks/administer-cluster/namespaces/
+
+
+ **原子性:将在合并期间被替换**
+
## NamespaceStatus {#NamespaceStatus}
**补丁策略:基于 `type` 健合并**
-
+
+ **Map:键 `type` 的唯一值将在合并期间保留**
+
表示命名空间当前状态的最新可用状况。
From 18af44758d22727d16ee31907a1982666b5d817a Mon Sep 17 00:00:00 2001
From: "xin.li"
Date: Fri, 4 Oct 2024 22:26:40 +0800
Subject: [PATCH 39/61] [zh-cn]sync kubeadm-upgrade scheduling-gpus
Signed-off-by: xin.li
---
.../administer-cluster/kubeadm/kubeadm-upgrade.md | 12 ++++++++++--
.../zh-cn/docs/tasks/manage-gpus/scheduling-gpus.md | 2 +-
2 files changed, 11 insertions(+), 3 deletions(-)
diff --git a/content/zh-cn/docs/tasks/administer-cluster/kubeadm/kubeadm-upgrade.md b/content/zh-cn/docs/tasks/administer-cluster/kubeadm/kubeadm-upgrade.md
index e75ec21f27..1595945c06 100644
--- a/content/zh-cn/docs/tasks/administer-cluster/kubeadm/kubeadm-upgrade.md
+++ b/content/zh-cn/docs/tasks/administer-cluster/kubeadm/kubeadm-upgrade.md
@@ -1,14 +1,14 @@
---
title: 升级 kubeadm 集群
content_type: task
-weight: 40
+weight: 30
---
@@ -41,6 +41,14 @@ please refer to following pages instead:
- [将 kubeadm 集群从 {{< skew currentVersionAddMinor -4 >}} 升级到 {{< skew currentVersionAddMinor -3 >}}](https://v{{< skew currentVersionAddMinor -3 "-" >}}.docs.kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-upgrade/)
- [将 kubeadm 集群从 {{< skew currentVersionAddMinor -5 >}} 升级到 {{< skew currentVersionAddMinor -4 >}}](https://v{{< skew currentVersionAddMinor -4 "-" >}}.docs.kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-upgrade/)
+
+Kubernetes 项目建议立即升级到最新的补丁版本,并确保你运行的是受支持的 Kubernetes 次要版本。
+遵循此建议可帮助你保持安全。
+
diff --git a/content/zh-cn/docs/tasks/manage-gpus/scheduling-gpus.md b/content/zh-cn/docs/tasks/manage-gpus/scheduling-gpus.md
index fa212fabf0..4a460099da 100644
--- a/content/zh-cn/docs/tasks/manage-gpus/scheduling-gpus.md
+++ b/content/zh-cn/docs/tasks/manage-gpus/scheduling-gpus.md
@@ -49,7 +49,7 @@ GPU vendor. Here are some links to vendors' instructions:
作为集群管理员,你要在节点上安装来自对应硬件厂商的 GPU 驱动程序,并运行来自
GPU 厂商的对应设备插件。以下是一些厂商说明的链接:
-* [AMD](https://github.com/RadeonOpenCompute/k8s-device-plugin#deployment)
+* [AMD](https://github.com/ROCm/k8s-device-plugin#deployment)
* [Intel](https://intel.github.io/intel-device-plugins-for-kubernetes/cmd/gpu_plugin/README.html)
* [NVIDIA](https://github.com/NVIDIA/k8s-device-plugin#quick-start)
-{{< note >}}
-
-在本指南中,使用 kubeadm 作为外部 etcd 节点管理工具,请注意 kubeadm 不计划支持此类节点的证书更换或升级。
-对于长期规划是使用 [etcdadm](https://github.com/kubernetes-sigs/etcdadm) 增强工具来管理这些方面。
-{{< /note >}}
-
From ba07f8de44f432a0dd7d29ead2c60551a290acac Mon Sep 17 00:00:00 2001
From: Arhell
Date: Sat, 5 Oct 2024 00:52:27 +0300
Subject: [PATCH 41/61] [ja] Removed Weave Scope link
---
content/ja/docs/concepts/cluster-administration/addons.md | 1 -
1 file changed, 1 deletion(-)
diff --git a/content/ja/docs/concepts/cluster-administration/addons.md b/content/ja/docs/concepts/cluster-administration/addons.md
index a2b0c95f37..3715011e96 100644
--- a/content/ja/docs/concepts/cluster-administration/addons.md
+++ b/content/ja/docs/concepts/cluster-administration/addons.md
@@ -41,7 +41,6 @@ weight: 120
## 可視化と制御 {#visualization-amp-control}
* [Dashboard](https://github.com/kubernetes/dashboard#kubernetes-dashboard)はKubernetes向けのダッシュボードを提供するウェブインターフェースです。
-* [Weave Scope](https://www.weave.works/documentation/scope-latest-installing/#k8s)は、コンテナ、Pod、Serviceなどをグラフィカルに可視化するツールです。[Weave Cloud account](https://cloud.weave.works/)と組み合わせて使うか、UIを自分でホストして使います。
## インフラストラクチャ {#infrastructure}
From 910578d81c13c45e1296fe15ed4834d882713e96 Mon Sep 17 00:00:00 2001
From: RfieWang
Date: Sat, 5 Oct 2024 11:44:53 +0800
Subject: [PATCH 42/61] [zh-cn] sync reference/audit-annotations.md
---
.../reference/labels-annotations-taints/audit-annotations.md | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/content/zh-cn/docs/reference/labels-annotations-taints/audit-annotations.md b/content/zh-cn/docs/reference/labels-annotations-taints/audit-annotations.md
index 16e6194248..4b09f17ac5 100644
--- a/content/zh-cn/docs/reference/labels-annotations-taints/audit-annotations.md
+++ b/content/zh-cn/docs/reference/labels-annotations-taints/audit-annotations.md
@@ -139,7 +139,8 @@ PodSecurity 执行中违反的特定策略及对应字段。
Example: `authorization.k8s.io/decision: "forbid"`
-This annotation indicates whether or not a request was authorized in Kubernetes audit logs.
+Value must be **forbid** or **allow**. This annotation indicates whether or not a request
+was authorized in Kubernetes audit logs.
See [Auditing](/docs/tasks/debug/debug-cluster/audit/) for more information.
-->
@@ -147,6 +148,7 @@ See [Auditing](/docs/tasks/debug/debug-cluster/audit/) for more information.
例子:`authorization.k8s.io/decision: "forbid"`
+值必须是 **forbid** 或者 **allow**。
此注解在 Kubernetes 审计日志中表示请求是否获得授权。
有关详细信息,请参阅[审计](/zh-cn/docs/tasks/debug/debug-cluster/audit/)。
From 40030a7bc69c2c5ca0b109cae2b3c7c2b4976785 Mon Sep 17 00:00:00 2001
From: RfieWang
Date: Sat, 5 Oct 2024 11:12:25 +0800
Subject: [PATCH 43/61] [zh-cn] sync docs/tutorials/apparmor.md
---
content/zh-cn/docs/tutorials/security/apparmor.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/content/zh-cn/docs/tutorials/security/apparmor.md b/content/zh-cn/docs/tutorials/security/apparmor.md
index d450b5ab73..7eac3f1a26 100644
--- a/content/zh-cn/docs/tutorials/security/apparmor.md
+++ b/content/zh-cn/docs/tutorials/security/apparmor.md
@@ -221,11 +221,11 @@ profile k8s-apparmor-example-deny-write flags=(attach_disconnected) {
由于不知道 Pod 将被调度到哪里,该配置文件需要加载到所有节点上。
-在本例中,我们将使用 SSH 来安装概要文件,
+在本例中,你可以使用 SSH 来安装配置文件,
但是在[使用配置文件设置节点](#setting-up-nodes-with-profiles)中讨论了其他方法。
- **name** (string)
- 被引用者的名称。
- 更多信息: https://kubernetes.io/zh-cn/docs/concepts/overview/working-with-objects/names/#names。
-
-
-
-
+ 被引用者的名称。该字段实际上是必需的,但由于向后兼容性允许为空。
+ 这种类型的实例如果此处具有空值,几乎肯定是错误的。
+ 更多信息:https://kubernetes.io/zh-cn/docs/concepts/overview/working-with-objects/names/#names。
From 9f0348e3814776ca8a9c475ec200ef2d2a18e54a Mon Sep 17 00:00:00 2001
From: RfieWang
Date: Sat, 5 Oct 2024 11:38:06 +0800
Subject: [PATCH 45/61] [zh-cn] sync docs/reference/labels-annotations-taints
---
.../labels-annotations-taints/_index.md | 36 ++++++++++++++++---
1 file changed, 31 insertions(+), 5 deletions(-)
diff --git a/content/zh-cn/docs/reference/labels-annotations-taints/_index.md b/content/zh-cn/docs/reference/labels-annotations-taints/_index.md
index 29dd03faf6..51019af0b9 100644
--- a/content/zh-cn/docs/reference/labels-annotations-taints/_index.md
+++ b/content/zh-cn/docs/reference/labels-annotations-taints/_index.md
@@ -572,6 +572,33 @@ feature gate must be enabled for this label to be added to pods.
请注意,[PodIndexLabel](/zh-cn/docs/reference/command-line-tools-reference/feature-gates/)
特性门控必须被启用,才能将此标签添加到 Pod 上。
+
+### resource.kubernetes.io/pod-claim-name {#resource-kubernetes-io-pod-claim-name}
+
+类别:注解
+
+示例:`resource.kubernetes.io/pod-claim-name: "my-pod-claim"`
+
+用于:ResourceClaim
+
+该注解被赋予自动生成的 ResourceClaim。
+注解的值对应于触发 ResourceClaim 创建的 Pod 在 `.spec` 中的资源声明名称。
+此注解是[动态资源分配](/zh-cn/docs/concepts/scheduling-eviction/dynamic-resource-allocation/)的内部实现细节。
+你不需要读取或修改此注解的值。
+
From e53f9df44f3800b6b20865090380215c8dbd3fa3 Mon Sep 17 00:00:00 2001
From: "xin.li"
Date: Sat, 5 Oct 2024 21:45:31 +0800
Subject: [PATCH 46/61] [zh-cn]sync csi-node-v1.md
Signed-off-by: xin.li
---
.../config-and-storage-resources/csi-node-v1.md | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/content/zh-cn/docs/reference/kubernetes-api/config-and-storage-resources/csi-node-v1.md b/content/zh-cn/docs/reference/kubernetes-api/config-and-storage-resources/csi-node-v1.md
index f0cafae20b..a615229aa2 100644
--- a/content/zh-cn/docs/reference/kubernetes-api/config-and-storage-resources/csi-node-v1.md
+++ b/content/zh-cn/docs/reference/kubernetes-api/config-and-storage-resources/csi-node-v1.md
@@ -6,7 +6,7 @@ api_metadata:
content_type: "api_reference"
description: "CSINode 包含节点上安装的所有 CSI 驱动有关的信息。"
title: "CSINode"
-weight: 9
+weight: 4
---
`apiVersion: storage.k8s.io/v1`
@@ -68,6 +68,8 @@ CSINodeSpec 包含一个节点上安装的所有 CSI 驱动规约有关的信息
*Patch strategy: merge on key `name`*
+ *Map: unique values on key name will be kept during a merge*
+
drivers is a list of information of all CSI Drivers existing on a node. If all drivers in the list are uninstalled, this can become empty.
@@ -81,6 +83,8 @@ CSINodeSpec 包含一个节点上安装的所有 CSI 驱动规约有关的信息
**补丁策略:按照键 `name` 合并**
+ **映射:键 `name` 的唯一值将在合并过程中保留**
+
drivers 是节点上存在的所有 CSI 驱动的信息列表。如果列表中的所有驱动均被卸载,则此字段可以为空。
@@ -136,11 +140,15 @@ CSINodeSpec 包含一个节点上安装的所有 CSI 驱动规约有关的信息
- **drivers.topologyKeys** ([]string)
+ **原子性:合并期间将被替换**
+
topologyKeys 是驱动支持的键的列表。
在集群上初始化一个驱动时,该驱动将提供一组自己理解的拓扑键
(例如 “company.com/zone”、“company.com/region”)。
From bdda2efc21043f1b2903954d26944475b06cd183 Mon Sep 17 00:00:00 2001
From: Arhell
Date: Sun, 6 Oct 2024 00:15:00 +0300
Subject: [PATCH 47/61] [es] Removed Weave Scope link
---
content/es/docs/concepts/cluster-administration/addons.md | 4 ----
1 file changed, 4 deletions(-)
diff --git a/content/es/docs/concepts/cluster-administration/addons.md b/content/es/docs/concepts/cluster-administration/addons.md
index 4d0488caa8..f893179da9 100644
--- a/content/es/docs/concepts/cluster-administration/addons.md
+++ b/content/es/docs/concepts/cluster-administration/addons.md
@@ -88,10 +88,6 @@ En esta página se listan algunos de los complementos disponibles con sus respec
* [Dashboard](https://github.com/kubernetes/dashboard#kubernetes-dashboard)
es un panel de control con una interfaz web para Kubernetes.
-* [Weave Scope](https://www.weave.works/documentation/scope-latest-installing/#k8s)
- es una herramienta para visualizar gráficamente tus contenedores, Pods, Services, etc.
- Utilícela junto con una [cuenta de Weave Cloud](https://cloud.weave.works/)
- o aloje la interfaz de usuario usted mismo.
## Infraestructura
From a94aeb07bee6c8e5155d9eca2d8a5854ebe39244 Mon Sep 17 00:00:00 2001
From: RfieWang
Date: Sun, 6 Oct 2024 11:06:28 +0800
Subject: [PATCH 48/61] [zh-cn] sync reference/device-plugin-cdi-devices.md
---
.../feature-gates/device-plugin-cdi-devices.md | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/content/zh-cn/docs/reference/command-line-tools-reference/feature-gates/device-plugin-cdi-devices.md b/content/zh-cn/docs/reference/command-line-tools-reference/feature-gates/device-plugin-cdi-devices.md
index 16ac4da845..bb80148a1a 100644
--- a/content/zh-cn/docs/reference/command-line-tools-reference/feature-gates/device-plugin-cdi-devices.md
+++ b/content/zh-cn/docs/reference/command-line-tools-reference/feature-gates/device-plugin-cdi-devices.md
@@ -13,6 +13,10 @@ stages:
- stage: beta
defaultValue: true
fromVersion: "1.29"
+ toVersion: "1.30"
+ - stage: stable
+ defaultValue: true
+ fromVersion: "1.31"
---
启用对具有自定义参数和独立于 Pod 生命周期的资源的支持。
+资源的分配由 Kubernetes 调度器根据“结构化参数”进行处理。
From 3dd8f7e7fbc7fd586174d3c7f949843543c5daee Mon Sep 17 00:00:00 2001
From: RfieWang
Date: Sun, 6 Oct 2024 11:20:07 +0800
Subject: [PATCH 50/61] [zh-cn] sync reference/consistent-http-get-handlers.md
---
.../feature-gates/consistent-http-get-handlers.md | 3 +++
1 file changed, 3 insertions(+)
diff --git a/content/zh-cn/docs/reference/command-line-tools-reference/feature-gates/consistent-http-get-handlers.md b/content/zh-cn/docs/reference/command-line-tools-reference/feature-gates/consistent-http-get-handlers.md
index b3aaca4d8e..7ca6ea9957 100644
--- a/content/zh-cn/docs/reference/command-line-tools-reference/feature-gates/consistent-http-get-handlers.md
+++ b/content/zh-cn/docs/reference/command-line-tools-reference/feature-gates/consistent-http-get-handlers.md
@@ -9,6 +9,9 @@ stages:
- stage: stable
defaultValue: true
fromVersion: "1.25"
+ toVersion: "1.30"
+
+removed: true
---
`apiVersion: storage.k8s.io/v1`
@@ -24,6 +25,7 @@ weight: 6
`import "k8s.io/api/storage/v1"`
## StorageClass {#StorageClass}
+
- **metadata** (}}">ObjectMeta)
@@ -64,6 +69,7 @@ StorageClass 是不受名字空间作用域限制的;按照 etcd 设定的存
- - **allowedTopologies.matchLabelExpressions.key** (string), required
- The label key that the selector applies to.
- - **allowedTopologies.matchLabelExpressions.values** ([]string), required
- An array of string values. One value must match the label to be selected. Each entry in Values is ORed.
--->
- **allowedTopologies.matchLabelExpressions** ([]TopologySelectorLabelRequirement)
+ **原子性:将在合并期间被替换**
+
按标签设置的拓扑选择器要求的列表。
-
-
- **拓扑选择器要求是与给定标签匹配的一个选择器。此功能为 Alpha 特性,将来可能会变更。**
-
+
+
+ **拓扑选择器要求是与给定标签匹配的一个选择器。这是一个 Alpha 特性,将来可能会变更。**
+
+
+
- **allowedTopologies.matchLabelExpressions.key** (string),必需
选择器所针对的标签键。
-
+
- **allowedTopologies.matchLabelExpressions.values** ([]string),必需
- 字符串数组。一个值必须与要选择的标签匹配。values 中的每个条目按逻辑或的关系来计算。
+ **原子性:将在合并期间被替换**
+
+ 字符串值的数组。一个值必须与要选择的标签匹配。values 中的每个条目按逻辑或的关系来计算。
- **mountOptions** ([]string)
- mountOptions 控制此存储类动态制备的 PersistentVolume 的挂载配置。
- (例如 ["ro", "soft"])。
- 系统对选项作检查——如果有一个选项无效,则这些 PV 的挂载将失败。
+ **原子性:将在合并期间被替换**
+
+ mountOptions 控制此存储类动态制备的 PersistentVolume 的挂载配置,例如 ["ro", "soft"]。
+ 针对此字段无合法性检查 —— 如果有一个选项无效,则这些 PV 的挂载将失败。
- **parameters** (map[string]string)
@@ -134,6 +160,7 @@ StorageClass 是不受名字空间作用域限制的;按照 etcd 设定的存
reclaimPolicy controls the reclaimPolicy for dynamically provisioned PersistentVolumes of this storage class. Defaults to Delete.
- **volumeBindingMode** (string)
+
volumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound. When unset, VolumeBindingImmediate is used. This field is only honored by servers that enable the VolumeScheduling feature.
-->
- **reclaimPolicy** (string)
@@ -147,6 +174,7 @@ StorageClass 是不受名字空间作用域限制的;按照 etcd 设定的存
只有启用 VolumeScheduling 功能特性的服务器才能使用此字段。
## StorageClassList {#StorageClassList}
+
@@ -160,9 +188,11 @@ StorageClassList 是存储类的集合。
- **metadata** (}}">ListMeta)
@@ -184,7 +214,9 @@ StorageClassList 是存储类的集合。
### `get` 读取指定的 StorageClass
+
#### HTTP 请求
+
GET /apis/storage.k8s.io/v1/storageclasses/{name}
#### 参数
+
- **name** (**路径参数**): string,必需
- StorageClass 的名称
+ StorageClass 的名称。
- **pretty** (**查询参数**): string
@@ -206,6 +239,7 @@ GET /apis/storage.k8s.io/v1/storageclasses/{name}
#### Response
-->
#### 响应
+
200 (}}">StorageClass): OK
401: Unauthorized
@@ -215,7 +249,9 @@ GET /apis/storage.k8s.io/v1/storageclasses/{name}
#### HTTP Request
-->
### `list` 列出或观测类别为 StorageClass 的对象
+
#### HTTP 请求
+
GET /apis/storage.k8s.io/v1/storageclasses
#### 参数
+
- **allowWatchBookmarks** (**查询参数**): boolean
}}">allowWatchBookmarks
@@ -280,6 +317,7 @@ GET /apis/storage.k8s.io/v1/storageclasses
#### Response
-->
#### 响应
+
200 (}}">StorageClassList): OK
401: Unauthorized
@@ -289,7 +327,9 @@ GET /apis/storage.k8s.io/v1/storageclasses
#### HTTP Request
-->
### `create` 创建 StorageClass
+
#### HTTP 请求
+
POST /apis/storage.k8s.io/v1/storageclasses
#### 参数
+
- **body**: }}">StorageClass,必需
- **dryRun** (**查询参数**): string
@@ -323,6 +364,7 @@ POST /apis/storage.k8s.io/v1/storageclasses
#### Response
-->
#### 响应
+
200 (}}">StorageClass): OK
201 (}}">StorageClass): Created
@@ -336,7 +378,9 @@ POST /apis/storage.k8s.io/v1/storageclasses
#### HTTP Request
-->
### `update` 替换指定的 StorageClass
+
#### HTTP 请求
+
PUT /apis/storage.k8s.io/v1/storageclasses/{name}
#### 参数
+
- **name** (**路径参数**): string,必需
- StorageClass 的名称
+ StorageClass 的名称。
- **body**: }}">StorageClass,必需
@@ -376,6 +421,7 @@ PUT /apis/storage.k8s.io/v1/storageclasses/{name}
#### Response
-->
#### 响应
+
200 (}}">StorageClass): OK
201 (}}">StorageClass): Created
@@ -387,7 +433,9 @@ PUT /apis/storage.k8s.io/v1/storageclasses/{name}
#### HTTP Request
-->
### `patch` 部分更新指定的 StorageClass
+
#### HTTP 请求
+
PATCH /apis/storage.k8s.io/v1/storageclasses/{name}
#### 参数
+
- **name** (**路径参数**): string,必需
- StorageClass 的名称
+ StorageClass 的名称。
- **body**: }}">Patch,必需
@@ -432,6 +481,7 @@ PATCH /apis/storage.k8s.io/v1/storageclasses/{name}
#### Response
-->
#### 响应
+
200 (}}">StorageClass): OK
201 (}}">StorageClass): Created
@@ -443,7 +493,9 @@ PATCH /apis/storage.k8s.io/v1/storageclasses/{name}
#### HTTP Request
-->
### `delete` 删除 StorageClass
+
#### HTTP 请求
+
DELETE /apis/storage.k8s.io/v1/storageclasses/{name}
#### 参数
+
- **name** (**路径参数**): string,必需
- StorageClass 的名称
+ StorageClass 的名称。
- **body**: }}">DeleteOptions
@@ -483,6 +536,7 @@ DELETE /apis/storage.k8s.io/v1/storageclasses/{name}
#### Response
-->
#### 响应
+
200 (}}">StorageClass): OK
202 (}}">StorageClass): Accepted
@@ -494,7 +548,9 @@ DELETE /apis/storage.k8s.io/v1/storageclasses/{name}
#### HTTP Request
-->
### `deletecollection` 删除 StorageClass 的集合
+
#### HTTP 请求
+
DELETE /apis/storage.k8s.io/v1/storageclasses
#### 参数
+
- **body**: }}">DeleteOptions
- **continue** (**查询参数**): string
@@ -567,6 +624,7 @@ DELETE /apis/storage.k8s.io/v1/storageclasses
#### Response
-->
#### 响应
+
200 (}}">Status): OK
401: Unauthorized
From c39e4856c41933fcdc864bc84c354cd69e6d1e63 Mon Sep 17 00:00:00 2001
From: abhilasha <54748630+abhilasha2418@users.noreply.github.com>
Date: Mon, 7 Oct 2024 05:06:04 +0530
Subject: [PATCH 54/61] =?UTF-8?q?Add=20=E2=80=9Cduration=E2=80=9D=20to=20g?=
=?UTF-8?q?lossary=20(#48208)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
* feature: add duration in glossary
* fix: Changes according to style guide
* fix: Add missing full stop
---
content/en/docs/reference/glossary/duration.md | 14 ++++++++++++++
1 file changed, 14 insertions(+)
create mode 100644 content/en/docs/reference/glossary/duration.md
diff --git a/content/en/docs/reference/glossary/duration.md b/content/en/docs/reference/glossary/duration.md
new file mode 100644
index 0000000000..5dda3f7064
--- /dev/null
+++ b/content/en/docs/reference/glossary/duration.md
@@ -0,0 +1,14 @@
+---
+title: Duration
+id: duration
+date: 2024-10-05
+full_link:
+short_description: >
+ A time interval specified as a string in the format accepted by Go's [time.Duration](https://pkg.go.dev/time), allowing for flexible time specifications using various units like seconds, minutes, and hours.
+aka:
+tags:
+- fundamental
+---
+In Kubernetes APIs, a duration must be non-negative and is typically expressed with a suffix.
+For example, `5s` for five seconds or `1m30s` for one minute and thirty seconds.
+
From eb08579c543b2d85b604f405a72b405850c736e3 Mon Sep 17 00:00:00 2001
From: windsonsea
Date: Mon, 7 Oct 2024 10:28:51 +0800
Subject: [PATCH 55/61] [zh] Sync common-definitions/object-meta and
delete-options
---
.../common-definitions/delete-options.md | 10 ++-
.../common-definitions/label-selector.md | 22 ++++--
.../common-definitions/object-meta.md | 78 +++++++++++++++----
3 files changed, 86 insertions(+), 24 deletions(-)
diff --git a/content/zh-cn/docs/reference/kubernetes-api/common-definitions/delete-options.md b/content/zh-cn/docs/reference/kubernetes-api/common-definitions/delete-options.md
index a41d2b4207..feb4bf20a2 100644
--- a/content/zh-cn/docs/reference/kubernetes-api/common-definitions/delete-options.md
+++ b/content/zh-cn/docs/reference/kubernetes-api/common-definitions/delete-options.md
@@ -43,10 +43,14 @@ DeleteOptions may be provided when deleting an API object.
- **dryRun** ([]string)
+ **原子性:将在合并期间被替换**
+
该值如果存在,则表示不应保留修改。
无效或无法识别的 `dryRun` 指令将导致错误响应并且不会进一步处理请求。有效值为:
@@ -124,4 +128,8 @@ DeleteOptions may be provided when deleting an API object.
表示是否以及如何执行垃圾收集。可以设置此字段或 `orphanDependents` 字段,但不能同时设置二者。
默认策略由 `metadata.finalizers` 中现有终结器(Finalizer)集合和特定资源的默认策略决定。
- 可接受的值为:`Orphan` - 令依赖对象成为孤儿对象;`Background` - 允许垃圾收集器在后台删除依赖项;`Foreground` - 一个级联策略,前台删除所有依赖项。
+ 可选值为:
+
+ - `Orphan` 令依赖对象成为孤儿对象;
+ - `Background` 允许垃圾收集器在后台删除依赖项;
+ - `Foreground` 一个级联策略,前台删除所有依赖项。
diff --git a/content/zh-cn/docs/reference/kubernetes-api/common-definitions/label-selector.md b/content/zh-cn/docs/reference/kubernetes-api/common-definitions/label-selector.md
index 66bdf7f73f..03196dacf6 100644
--- a/content/zh-cn/docs/reference/kubernetes-api/common-definitions/label-selector.md
+++ b/content/zh-cn/docs/reference/kubernetes-api/common-definitions/label-selector.md
@@ -4,7 +4,7 @@ api_metadata:
import: "k8s.io/apimachinery/pkg/apis/meta/v1"
kind: "LabelSelector"
content_type: "api_reference"
-description: "标签选择器是对一组资源的标签查询。"
+description: "标签选择算符是对一组资源的标签查询。"
title: "LabelSelector"
weight: 2
---
@@ -25,15 +25,17 @@ auto_generated: true
-标签选择器是对一组资源的标签查询。
+标签选择算符是对一组资源的标签查询。
`matchLabels` 和 `matchExpressions` 的结果按逻辑与的关系组合。
-一个 `empty` 标签选择器匹配所有对象。一个 `null` 标签选择器不匹配任何对象。
+一个 `empty` 标签选择算符匹配所有对象。一个 `null` 标签选择算符不匹配任何对象。
- **matchExpressions** ([]LabelSelectorRequirement)
- `matchExpressions` 是标签选择器要求的列表,这些要求的结果按逻辑与的关系来计算。
+ **原子性:将在合并期间被替换**
+
+ `matchExpressions` 是标签选择算符要求的列表,这些要求的结果按逻辑与的关系来计算。
- **标签选择器要求是包含值、键和关联键和值的运算符的选择器。**
+ **标签选择算符要求是包含值、键和关联键和值的运算符的选择算符。**
- **matchExpressions.values** ([]string)
+ **原子性:将在合并期间被替换**
+
`values` 是一个字符串值数组。如果运算符为 `In` 或 `NotIn`,则 `values` 数组必须为非空。
如果运算符是 `Exists` 或 `DoesNotExist`,则 `values` 数组必须为空。
该数组在策略性合并补丁(Strategic Merge Patch)期间被替换。
@@ -89,5 +97,5 @@ A label selector is a label query over a set of resources. The result of matchLa
`matchLabels` 映射中的单个 {`key`,`value`} 键值对相当于 `matchExpressions` 的一个元素,
其键字段为 `key`,运算符为 `In`,`values` 数组仅包含 `value`。
-
+
所表达的需求最终要按逻辑与的关系组合。
diff --git a/content/zh-cn/docs/reference/kubernetes-api/common-definitions/object-meta.md b/content/zh-cn/docs/reference/kubernetes-api/common-definitions/object-meta.md
index 6ab601689e..c3281cec83 100644
--- a/content/zh-cn/docs/reference/kubernetes-api/common-definitions/object-meta.md
+++ b/content/zh-cn/docs/reference/kubernetes-api/common-definitions/object-meta.md
@@ -8,7 +8,6 @@ description: "ObjectMeta 是所有持久化资源必须具有的元数据,其
title: "ObjectMeta"
weight: 7
---
-
+
generateName 是一个可选前缀,由服务器使用,**仅在**未提供 name 字段时生成唯一名称。
如果使用此字段,则返回给客户端的名称将与传递的名称不同。该值还将与唯一的后缀组合。
提供的值与 name 字段具有相同的验证规则,并且可能会根据所需的后缀长度被截断,以使该值在服务器上唯一。
@@ -54,7 +54,8 @@ ObjectMeta 是所有持久化资源必须具有的元数据,其中包括用户
Applied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency
-->
- 如果指定了此字段并且生成的名称存在,则服务器将不会返回 409 ——相反,它将返回 201 Created 或 500,
+
+ 如果指定了此字段并且生成的名称存在,则服务器将不会返回 409。相反,它将返回 201 Created 或 500,
原因是 ServerTimeout 指示在分配的时间内找不到唯一名称,客户端应重试(可选,在 Retry-After 标头中指定的时间之后)。
仅在未指定 name 时应用。更多信息:
@@ -68,7 +69,7 @@ ObjectMeta 是所有持久化资源必须具有的元数据,其中包括用户
Must be a DNS_LABEL. Cannot be updated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces
-->
- namespace 定义了一个值空间,其中每个名称必须唯一。空命名空间相当于 “default” 命名空间,但 “default” 是规范表示。
+ namespace 定义了一个值空间,其中每个名称必须唯一。空命名空间相当于 “default” 命名空间,但 “default” 是规范的表示。
并非所有对象都需要限定在命名空间中——这些对象的此字段的值将为空。
必须是 DNS_LABEL。无法更新。更多信息:
@@ -94,11 +95,19 @@ ObjectMeta 是所有持久化资源必须具有的元数据,其中包括用户
它们不可查询,在修改对象时应保留。更多信息:
https://kubernetes.io/zh-cn/docs/concepts/overview/working-with-objects/annotations
-
+
### 系统字段 {#System}
- **finalizers** ([]string)
+
+
+ **集合:唯一值将在合并期间被保留**
+
@@ -115,6 +124,12 @@ ObjectMeta 是所有持久化资源必须具有的元数据,其中包括用户
- **managedFields** ([]ManagedFieldsEntry)
+
+
+ **原子性:将在合并期间被替换**
+
+
+
manager 是管理这些字段的工作流的标识符。
- **managedFields.operation** (string)
@@ -228,6 +247,8 @@ ObjectMeta 是所有持久化资源必须具有的元数据,其中包括用户
必选
-
+ - **ownerReferences.apiVersion** (string),必需
+
+
+
被引用资源的 API 版本。
- - **ownerReferences.kind** (string),必选
+ - **ownerReferences.kind** (string),必需
+
+
-
被引用资源的类别。更多信息:
https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
- - **ownerReferences.name** (string),必选
+ - **ownerReferences.name** (string),必需
-
+
被引用资源的名称。更多信息:
https://kubernetes.io/zh-cn/docs/concepts/overview/working-with-objects/names/
- - **ownerReferences.uid** (string),必选
+ - **ownerReferences.uid** (string),必需
-
+
被引用资源的 uid。更多信息:
https://kubernetes.io/zh-cn/docs/concepts/overview/working-with-objects/names#uids
@@ -274,6 +308,7 @@ ObjectMeta 是所有持久化资源必须具有的元数据,其中包括用户
+
如果为 true,**并且** 如果属主具有 “foregroundDeletion” 终结器,
则在删除此引用之前,无法从键值存储中删除属主。
默认为 false。要设置此字段,用户需要属主的 “delete” 权限,
@@ -281,11 +316,16 @@ ObjectMeta 是所有持久化资源必须具有的元数据,其中包括用户
- **ownerReferences.controller** (boolean)
-
+
+
如果为 true,则此引用指向管理的控制器。
-
-### 只读字段 {#Read-only}
+
+### 只读字段 {#Read-only}
- **creationTimestamp** (Time)
@@ -297,6 +337,7 @@ ObjectMeta 是所有持久化资源必须具有的元数据,其中包括用户
*Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.*
-->
+
creationTimestamp 是一个时间戳,表示创建此对象时的服务器时间。
不能保证在单独的操作中按发生前的顺序设置。
客户端不得设置此值。它以 RFC3339 形式表示,并采用 UTC。
@@ -313,6 +354,7 @@ ObjectMeta 是所有持久化资源必须具有的元数据,其中包括用户
+
此对象从系统中删除之前允许正常终止的秒数。
仅当设置了 deletionTimestamp 时才设置。
只能缩短。只读。
@@ -342,6 +384,7 @@ ObjectMeta 是所有持久化资源必须具有的元数据,其中包括用户
*Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.*
-->
+
请求体面删除时由系统填充。只读。更多信息:
https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
@@ -354,6 +397,7 @@ ObjectMeta 是所有持久化资源必须具有的元数据,其中包括用户
+
表示期望状态的特定生成的序列号。由系统填充。只读。
- **resourceVersion** (string)
@@ -363,6 +407,7 @@ ObjectMeta 是所有持久化资源必须具有的元数据,其中包括用户
Populated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
-->
+
一个不透明的值,表示此对象的内部版本,客户端可以使用该值来确定对象是否已被更改。
可用于乐观并发、变更检测以及对资源或资源集的监听操作。
客户端必须将这些值视为不透明的,且未更改地传回服务器。
@@ -378,6 +423,7 @@ ObjectMeta 是所有持久化资源必须具有的元数据,其中包括用户
DEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release.
-->
+
selfLink 是表示此对象的 URL。由系统填充。只读。
**已弃用**。Kubernetes 将在 1.20 版本中停止传播该字段,并计划在 1.21 版本中删除该字段。
From 548baf224febc1f02af8decf176e766edf7f781f Mon Sep 17 00:00:00 2001
From: "xin.li"
Date: Thu, 3 Oct 2024 17:14:03 +0800
Subject: [PATCH 56/61] [zh-cn] Add blog:
2024-10-02-steering-committee-results-2024.md
Signed-off-by: xin.li
---
...4-10-02-steering-committee-results-2024.md | 123 ++++++++++++++++++
1 file changed, 123 insertions(+)
create mode 100644 content/zh-cn/blog/_posts/2024-10-02-steering-committee-results-2024.md
diff --git a/content/zh-cn/blog/_posts/2024-10-02-steering-committee-results-2024.md b/content/zh-cn/blog/_posts/2024-10-02-steering-committee-results-2024.md
new file mode 100644
index 0000000000..554e724e38
--- /dev/null
+++ b/content/zh-cn/blog/_posts/2024-10-02-steering-committee-results-2024.md
@@ -0,0 +1,123 @@
+---
+layout: blog
+title: "公布 2024 年指导委员会选举结果"
+slug: steering-committee-results-2024
+canonicalUrl: https://www.kubernetes.dev/blog/2024/10/02/steering-committee-results-2024
+date: 2024-10-02T15:10:00-05:00
+author: >
+ Bridget Kromhout
+translator: >
+ Xin Li (DaoCloud)
+---
+
+
+
+[2024 年指导委员会选举](https://github.com/kubernetes/community/tree/master/elections/steering/2024)现已完成。
+Kubernetes 指导委员会由 7 个席位组成,其中 3 个席位于 2024 年进行选举。
+新任委员会成员的任期为 2 年,所有成员均由 Kubernetes 社区选举产生。
+
+这个社区机构非常重要,因为它负责监督整个 Kubernetes 项目的治理。
+权力越大责任越大,你可以在其
+[章程](https://github.com/kubernetes/steering/blob/master/charter.md)中了解有关指导委员会角色的更多信息。
+
+感谢所有在选举中投票的人;你们的参与有助于支持社区的持续健康和成功。
+
+
+## 结果
+
+祝贺当选的委员会成员,其两年任期立即开始(按 GitHub 句柄按字母顺序列出):
+
+* **Antonio Ojea ([@aojea](https://github.com/aojea)), Google**
+* **Benjamin Elder ([@BenTheElder](https://github.com/bentheelder)), Google**
+* **Sascha Grunert ([@saschagrunert](https://github.com/saschagrunert)), Red Hat**
+
+
+他们将与以下连任成员一起工作:
+
+* **Stephen Augustus ([@justaugustus](https://github.com/justaugustus)), Cisco**
+* **Paco Xu 徐俊杰 ([@pacoxu](https://github.com/pacoxu)), DaoCloud**
+* **Patrick Ohly ([@pohly](https://github.com/pohly)), Intel**
+* **Maciej Szulik ([@soltysh](https://github.com/soltysh)), Defense Unicorns**
+
+
+Benjamin Elder 是一位回归的指导委员会成员。
+
+
+## 十分感谢!
+
+感谢并祝贺本轮选举官员成功完成选举工作:
+
+* Bridget Kromhout ([@bridgetkromhout](https://github.com/bridgetkromhout))
+* Christoph Blecker ([@cblecker](https://github.com/cblecker))
+* Priyanka Saggu ([@Priyankasaggu11929](https://github.com/Priyankasaggu11929))
+
+
+感谢名誉指导委员会成员,你们的服务受到社区的赞赏:
+
+* Bob Killen ([@mrbobbytables](https://github.com/mrbobbytables))
+* Nabarun Pal ([@palnabarun](https://github.com/palnabarun))
+
+
+感谢所有前来竞选的候选人。
+
+
+## 参与指导委员会
+
+这个管理机构与所有 Kubernetes 一样,向所有人开放。
+你可以关注指导委员会[会议记录](https://github.com/orgs/kubernetes/projects/40),
+并通过提交 Issue 或针对其 [repo](https://github.com/kubernetes/steering) 创建 PR 来参与。
+他们在[太平洋时间每月第一个周一上午 8:00](https://github.com/kubernetes/steering) 举行开放的会议。
+你还可以通过其公共邮件列表 steering@kubernetes.io 与他们联系。
+
+
+你可以通过在 [YouTube 播放列表](https://www.youtube.com/playlist?list=PL69nYSiGNLP1yP1B_nd9-drjoxp0Q14qM)上观看过去的会议来了解指导委员会会议的全部内容。
+
+如果你想认识一些新当选的指导委员会成员,
+欢迎参加在盐湖城举行的 2024 年北美 Kubernetes 贡献者峰会上的
+[Steering AMA](https://www.kubernetes.dev/events/2024/kcsna/schedule/#steering-ama)。
+
+---
+
+
+**这篇文章是由[贡献者通信子项目](https://github.com/kubernetes/community/tree/master/communication/contributor-comms)撰写的。
+如果你想撰写有关 Kubernetes 社区的故事,请了解有关我们的更多信息。**
From 12393c20c3513aeb1486b30caff38fc23c258f04 Mon Sep 17 00:00:00 2001
From: Daniel Chan
Date: Mon, 7 Oct 2024 12:44:09 -0400
Subject: [PATCH 57/61] remove past docs leads
drew and princess were docs leads for past release cycles, their membership in owners is not required anymore
---
OWNERS_ALIASES | 2 --
1 file changed, 2 deletions(-)
diff --git a/OWNERS_ALIASES b/OWNERS_ALIASES
index fc48b4557f..a19cb2e523 100644
--- a/OWNERS_ALIASES
+++ b/OWNERS_ALIASES
@@ -64,8 +64,6 @@ aliases:
- salaxander
- sftim
- tengqm
- - Princesso # RT 1.31 Docs Lead
- - drewhagen # RT 1.31 temp acting Docs lead
- chanieljdan # RT 1.32 Docs Lead
sig-docs-en-reviews: # PR reviews for English content
- dipesh-rawat
From 13eadd5e1be492d5a5bae3aef6cce69719f8cad4 Mon Sep 17 00:00:00 2001
From: drewhagen
Date: Mon, 7 Oct 2024 12:09:48 -0500
Subject: [PATCH 58/61] fix: Drew should not be a website owner
---
OWNERS_ALIASES | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/OWNERS_ALIASES b/OWNERS_ALIASES
index 0f9a89ba24..f300938b81 100644
--- a/OWNERS_ALIASES
+++ b/OWNERS_ALIASES
@@ -16,7 +16,6 @@ aliases:
- salaxander
- sftim
- tengqm
- - drewhagen # RT 1.31 temp acting Docs lead
sig-docs-localization-owners: # Admins for localization content
- a-mccarthy
- divya-mohan0209
@@ -80,8 +79,8 @@ aliases:
- shannonxtreme
- tengqm
- windsonsea
- - Princesso # RT 1.31 Docs Lead
- - drewhagen # RT 1.31 temp acting Docs lead
+ - Princesso
+ - drewhagen
sig-docs-es-owners: # Admins for Spanish content
- electrocucaracha
- krol3
From 58be7f691e42eed339678e9dbc8a3fb12e3c26be Mon Sep 17 00:00:00 2001
From: "xin.li"
Date: Tue, 8 Oct 2024 08:55:09 +0800
Subject: [PATCH 59/61] [zh-cn]sync 2024-09-17-sig-scheduling-spotlight.md
Signed-off-by: xin.li
---
.../2024-09-17-sig-scheduling-spotlight.md | 108 +++++++++---------
1 file changed, 52 insertions(+), 56 deletions(-)
diff --git a/content/zh-cn/blog/_posts/2024-09-17-sig-scheduling-spotlight.md b/content/zh-cn/blog/_posts/2024-09-17-sig-scheduling-spotlight.md
index ca23e1599d..d0d555d61f 100644
--- a/content/zh-cn/blog/_posts/2024-09-17-sig-scheduling-spotlight.md
+++ b/content/zh-cn/blog/_posts/2024-09-17-sig-scheduling-spotlight.md
@@ -38,14 +38,14 @@ Kubernetes?**
**Kensei**: Hi, thanks for the opportunity! I’m Kensei Nakada
([@sanposhiho](https://github.com/sanposhiho/)), a software engineer at
[Tetrate.io](https://tetrate.io/). I have been contributing to Kubernetes in my free time for more
-than 3 years, and now I’m an approver of SIG-Scheduling in Kubernetes. Also, I’m a founder/owner of
+than 3 years, and now I’m an approver of SIG Scheduling in Kubernetes. Also, I’m a founder/owner of
two SIG subprojects,
[kube-scheduler-simulator](https://github.com/kubernetes-sigs/kube-scheduler-simulator) and
[kube-scheduler-wasm-extension](https://github.com/kubernetes-sigs/kube-scheduler-wasm-extension).
-->
**Kensei**: 嗨,感谢你给我这个机会!我是 Kensei Nakada
([@sanposhiho](https://github.com/sanposhiho/)),是来自 [Tetrate.io](https://tetrate.io/) 的一名软件工程师。
-我在业余时间为 Kubernetes 贡献了超过 3 年的时间,现在我是 Kubernetes 中 SIG-Scheduling 的一名 Approver。
+我在业余时间为 Kubernetes 贡献了超过 3 年的时间,现在我是 Kubernetes 中 SIG Scheduling 的一名 Approver。
同时,我还是两个 SIG 子项目的创始人/负责人:
[kube-scheduler-simulator](https://github.com/kubernetes-sigs/kube-scheduler-simulator) 和
[kube-scheduler-wasm-extension](https://github.com/kubernetes-sigs/kube-scheduler-wasm-extension)。
@@ -59,7 +59,7 @@ brief overview of SIG Scheduling and explain its role within the Kubernetes ecos
**KN**: As the name implies, our responsibility is to enhance scheduling within
Kubernetes. Specifically, we develop the components that determine which Node is the best place for
each Pod. In Kubernetes, our main focus is on maintaining the
-[kube-scheduler](https://kubernetes.io/docs/concepts/scheduling-eviction/kube-scheduler/), along
+[kube-scheduler](/docs/concepts/scheduling-eviction/kube-scheduler/), along
with other scheduling-related components as part of our SIG subprojects.
-->
## 关于 SIG Scheduling
@@ -69,15 +69,15 @@ with other scheduling-related components as part of our SIG subprojects.
**KN**: 正如名字所示,我们的责任是增强 Kubernetes 中的调度特性。
具体来说,我们开发了一些组件,将每个 Pod 调度到最合适的 Node。
在 Kubernetes 中,我们的主要关注点是维护
-[kube-scheduler](https://kubernetes.io/docs/concepts/scheduling-eviction/kube-scheduler/),
+[kube-scheduler](/zh-cn/docs/concepts/scheduling-eviction/kube-scheduler/),
以及其他调度相关的组件,这些组件是 SIG Scheduling 的子项目。
@@ -104,7 +104,7 @@ reducing the likelihood of wasting scheduling cycles.
**A: That sounds interesting! Are there any other interesting topics or projects you are currently
working on within SIG Scheduling?**
-**KN**: I’m leading the development of `QueueingHint` which I just shared. Given that it’s a big new
+**KN**: I’m leading the development of `QueueingHint` which I just shared. Given that it’s a big new
challenge for us, we’ve been facing many unexpected challenges, especially around the scalability,
and we’re trying to solve each of them to eventually enable it by default.
-->
@@ -115,15 +115,14 @@ and we’re trying to solve each of them to eventually enable it by default.
-通过这个项目,sig-scheduling 正在积累 WebAssembly 与大型 Kubernetes 对象交互的宝贵洞察。
-我相信我们所获得的经验应该对整个社区都很有用,而不仅限于 sig-scheduling 的范围。
+通过这个项目,SIG Scheduling 正在积累 WebAssembly 与大型 Kubernetes 对象交互的宝贵洞察。
+我相信我们所获得的经验应该对整个社区都很有用,而不仅限于 SIG Scheduling 的范围。
**A: 当然!目前 SIG Scheduling 有 8 个子项目。你想谈谈它们吗?有没有一些你想强调的有趣贡献?**
**KN**: 让我挑选三个子项目:Kueue、KWOK 和 Descheduler。
[Kueue](https://github.com/kubernetes-sigs/kueue):
: 最近,许多人尝试使用 Kubernetes 管理批处理工作负载,2022 年,Kubernetes 社区成立了
@@ -175,18 +174,18 @@ to be installed on a vanilla Kubernetes cluster while cooperating with existing
同时与现有的成熟控制器(调度器、cluster-autoscaler、kube-controller-manager 等)协作。
[KWOK](https://github.com/kubernetes-sigs/kwok)
: KWOK 这个组件可以在几秒钟内创建一个包含数千个节点的集群。它主要用于模拟/测试轻量级集群,实际上另一个 SIG 子项目
@@ -199,9 +198,9 @@ that they’re recreated and rescheduled.
以便这些 Pod 被重新创建和重新调度。
@@ -236,8 +235,7 @@ improving our components over the years.
**AP: Kubernetes is a community-driven project. Any recommendations for new contributors or
beginners looking to get involved and contribute to SIG scheduling? Where should they start?**
-**KN**: Let me start with a general recommendation for contributing to any SIG: a common approach is
-to look for
+**KN**: Let me start with a general recommendation for contributing to any SIG: a common approach is to look for
[good-first-issue](https://github.com/kubernetes/kubernetes/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22).
However, you'll soon realize that many people worldwide are trying to contribute to the Kubernetes
repository.
@@ -254,10 +252,10 @@ SIG Scheduling 做出贡献的初学者有什么建议?他们应该从哪里
最后但同样重要的是,记住为社区做贡献不仅仅是编写代码。
虽然我谈到了很多关于实现的贡献,但还有许多其他方式可以做贡献,每一种都很有价值。
@@ -336,9 +333,8 @@ pain points?**
**KN**: Scheduling in Kubernetes can be quite challenging because of the diverse needs of different
organizations with different business requirements. Supporting all possible use cases in
kube-scheduler is impossible. Therefore, extensibility is a key focus for us. A few years ago, we
-rearchitected kube-scheduler with [Scheduling
-Framework](https://kubernetes.io/docs/concepts/scheduling-eviction/scheduling-framework/), which
-offers flexible extensibility for users to implement various scheduling needs through plugins. This
+rearchitected kube-scheduler with [Scheduling Framework](/docs/concepts/scheduling-eviction/scheduling-framework/),
+which offers flexible extensibility for users to implement various scheduling needs through plugins. This
allows maintainers to focus on the core scheduling features and the framework runtime.
-->
**KN**: 在 Kubernetes 中进行调度可能相当具有挑战性,因为不同组织有不同的业务要求。
@@ -361,7 +357,7 @@ difficult as even small changes, which look irrelevant to performance, can lead
但不巧的是,我们有时会忽视在不常见场景下的性能下降。即使是与性能无关的小改动也有难度,可能导致性能下降。
**AP: 接下来 SIG Scheduling 有哪些即将实现的目标或计划?你如何看待 SIG 的未来发展?**
@@ -405,7 +401,7 @@ about SIG Scheduling?**
**KN**: Scheduling is one of the most complicated areas in Kubernetes, and you may find it difficult
at first. But, as I shared earlier, you can find many opportunities for contributions, and many
maintainers are willing to help you understand things. We know your unique perspective and skills
-are what makes our open source so powerful :)
+are what makes our open source so powerful 😊
-->
## 结束语
@@ -413,7 +409,7 @@ are what makes our open source so powerful :)
**KN**: 调度是 Kubernetes 中最复杂的领域之一,你可能一开始会觉得很困难。但正如我之前分享的,
你可以找到许多贡献的机会,许多维护者愿意帮助你理解各事项。
-我们知道你独特的视角和技能是我们的开源项目能够如此强大的源泉 :)
+我们知道你独特的视角和技能是我们的开源项目能够如此强大的源泉 😊
+
+ **原子性:合并期间将被替换**
此用户所属的用户组的名称。
diff --git a/content/zh-cn/docs/reference/kubernetes-api/workload-resources/replica-set-v1.md b/content/zh-cn/docs/reference/kubernetes-api/workload-resources/replica-set-v1.md
index 03f1f42b04..f71113f1a6 100644
--- a/content/zh-cn/docs/reference/kubernetes-api/workload-resources/replica-set-v1.md
+++ b/content/zh-cn/docs/reference/kubernetes-api/workload-resources/replica-set-v1.md
@@ -164,6 +164,8 @@ ReplicaSetStatus 表示 ReplicaSet 的当前状态。
- **conditions** ([]ReplicaSetCondition)
*Patch strategy: merge on key `type`*
+
+ *Map: unique values on key type will be kept during a merge*
Represents the latest available observations of a replica set's current state.
@@ -173,6 +175,8 @@ ReplicaSetStatus 表示 ReplicaSet 的当前状态。
- **conditions** ([]ReplicaSetCondition)
**补丁策略:按照键 `type` 合并**
+
+ **Map:键类型的唯一值将在合并期间保留**
表示副本集当前状态的最新可用观测值。
diff --git a/content/zh-cn/docs/tasks/administer-cluster/cluster-upgrade.md b/content/zh-cn/docs/tasks/administer-cluster/cluster-upgrade.md
index 3eb7708a5a..a709369570 100644
--- a/content/zh-cn/docs/tasks/administer-cluster/cluster-upgrade.md
+++ b/content/zh-cn/docs/tasks/administer-cluster/cluster-upgrade.md
@@ -14,6 +14,10 @@ weight: 350
This page provides an overview of the steps you should follow to upgrade a
Kubernetes cluster.
+The Kubernetes project recommends upgrading to the latest patch releases promptly, and
+to ensure that you are running a supported minor release of Kubernetes.
+Following this recommendation helps you to to stay secure.
+
The way that you upgrade a cluster depends on how you initially deployed it
and on any subsequent changes.
@@ -21,6 +25,9 @@ At a high level, the steps you perform are:
-->
本页概述升级 Kubernetes 集群的步骤。
+Kubernetes 项目建议及时升级到最新的补丁版本,并确保使用受支持的 Kubernetes 版本。
+遵循这一建议有助于保障安全。
+
升级集群的方式取决于你最初部署它的方式、以及后续更改它的方式。
从高层规划的角度看,要执行的步骤是:
From 1f60ad11a3562f80c38d9f391adbe8b02a63280d Mon Sep 17 00:00:00 2001
From: "paul.zhang"
Date: Tue, 8 Oct 2024 16:36:03 +0800
Subject: [PATCH 61/61] [zh-cn]fix:modify an incoherent statement
[zh-cn]fix:modify an incoherent statement
---
.../concepts/scheduling-eviction/dynamic-resource-allocation.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/content/zh-cn/docs/concepts/scheduling-eviction/dynamic-resource-allocation.md b/content/zh-cn/docs/concepts/scheduling-eviction/dynamic-resource-allocation.md
index ec9bae19a6..b4ac8fb565 100644
--- a/content/zh-cn/docs/concepts/scheduling-eviction/dynamic-resource-allocation.md
+++ b/content/zh-cn/docs/concepts/scheduling-eviction/dynamic-resource-allocation.md
@@ -275,7 +275,7 @@ gets scheduled.
通知负责这些 ResourceClaim 的资源驱动程序,告知它们调度器认为适合该 Pod 的节点。
资源驱动程序通过排除没有足够剩余资源的节点来响应调度器。
一旦调度器有了这些信息,它就会选择一个节点,并将该选择存储在 PodScheduling 对象中。
-然后,资源驱动程序为分配其 ResourceClaim,以便资源可用于该节点。
+然后,资源驱动程序为其分配 ResourceClaim,以便资源可用于该节点。
完成后,Pod 就会被调度。
| |