Skip to content

Commit 5f2d629

Browse files
committed
sync nodes addons sidecar-containers
1 parent caed4f9 commit 5f2d629

File tree

3 files changed

+18
-5
lines changed

3 files changed

+18
-5
lines changed

content/zh-cn/docs/concepts/architecture/nodes.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -206,14 +206,14 @@ are enabled, kubelets are only authorized to create/modify their own Node resour
206206
<!--
207207
As mentioned in the [Node name uniqueness](#node-name-uniqueness) section,
208208
when Node configuration needs to be updated, it is a good practice to re-register
209-
the node with the API server. For example, if the kubelet being restarted with
210-
the new set of `--node-labels`, but the same Node name is used, the change will
211-
not take an effect, as labels are being set on the Node registration.
209+
the node with the API server. For example, if the kubelet is being restarted with
210+
a new set of `--node-labels`, but the same Node name is used, the change will
211+
not take effect, as labels are only set (or modified) upon Node registration with the API server.
212212
-->
213213
正如[节点名称唯一性](#node-name-uniqueness)一节所述,当 Node 的配置需要被更新时,
214214
一种好的做法是重新向 API 服务器注册该节点。例如,如果 kubelet 重启时其 `--node-labels`
215215
是新的值集,但同一个 Node 名称已经被使用,则所作变更不会起作用,
216-
因为节点标签是在 Node 注册时完成的
216+
因为节点标签是在 Node 注册到 API 服务器时完成(或修改)的
217217

218218
<!--
219219
Pods already scheduled on the Node may misbehave or cause issues if the Node
@@ -1065,6 +1065,8 @@ Learn more about the following:
10651065
* [Components](/docs/concepts/overview/components/#node-components) that make up a node.
10661066
* [API definition for Node](/docs/reference/generated/kubernetes-api/{{< param "version" >}}/#node-v1-core).
10671067
* [Node](https://git.k8s.io/design-proposals-archive/architecture/architecture.md#the-kubernetes-node) section of the architecture design document.
1068+
* [Cluster autoscaling](/docs/concepts/cluster-administration/cluster-autoscaling/) to
1069+
manage the number and size of nodes in your cluster.
10681070
* [Taints and Tolerations](/docs/concepts/scheduling-eviction/taint-and-toleration/).
10691071
* [Node Resource Managers](/docs/concepts/policy/node-resource-managers/).
10701072
* [Resource Management for Windows nodes](/docs/concepts/configuration/windows-resource-management/).
@@ -1076,6 +1078,8 @@ Learn more about the following:
10761078
* 架构设计文档中有关
10771079
[Node](https://git.k8s.io/design-proposals-archive/architecture/architecture.md#the-kubernetes-node)
10781080
的章节。
1081+
* [集群自动扩缩](https://git.k8s.io/design-proposals-archive/architecture/architecture.md#the-kubernetes-node)
1082+
以管理集群中节点的数量和规模。
10791083
* [污点和容忍度](/zh-cn/docs/concepts/scheduling-eviction/taint-and-toleration/)。
10801084
* [节点资源管理器](/zh-cn/docs/concepts/policy/node-resource-managers/)。
10811085
* [Windows 节点的资源管理](/zh-cn/docs/concepts/configuration/windows-resource-management/)。

content/zh-cn/docs/concepts/cluster-administration/addons.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,15 @@ Add-on 扩展了 Kubernetes 的功能。
209209
并将系统问题报告为[事件](/zh-cn/docs/reference/kubernetes-api/cluster-resources/event-v1/)
210210
[节点状况](/zh-cn/docs/concepts/architecture/nodes/#condition)
211211

212+
<!--
213+
## Instrumentation
214+
215+
* [kube-state-metrics](/docs/concepts/cluster-administration/kube-state-metrics)
216+
-->
217+
## 插桩 {#instrumentation}
218+
219+
* [kube-state-metrics](/zh-cn/docs/concepts/cluster-administration/kube-state-metrics)
220+
212221
<!--
213222
## Legacy Add-ons
214223

content/zh-cn/docs/concepts/workloads/pods/sidecar-containers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Enabled by default with Kubernetes 1.29, a
3434
Pod's `initContainers` field. These restartable _sidecar_ containers are independent with
3535
other [init containers](/docs/concepts/workloads/pods/init-containers/) and main
3636
application container within the same pod. These can be started, stopped, or restarted
37-
without effecting the main application container and other init containers.
37+
without affecting the main application container and other init containers.
3838
-->
3939
## 启用边车容器 {#enabling-sidecar-containers}
4040

0 commit comments

Comments
 (0)