Skip to content

Commit d2be416

Browse files
authored
Merge pull request #37398 from windsonsea/cloudcon
[zh] sync cloud-controller.md
2 parents bf55b81 + 3b77c73 commit d2be416

File tree

1 file changed

+17
-19
lines changed

1 file changed

+17
-19
lines changed

content/zh-cn/docs/concepts/architecture/cloud-controller.md

Lines changed: 17 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -47,16 +47,16 @@ process.
4747
![Kubernetes 组件](/images/docs/components-of-kubernetes.svg)
4848

4949
云控制器管理器以一组多副本的进程集合的形式运行在控制面中,通常表现为 Pod
50-
中的容器。每个 `cloud-controller-manager` 在同一进程中实现多个
51-
{{< glossary_tooltip text="控制器" term_id="controller" >}}。
50+
中的容器。每个 `cloud-controller-manager`
51+
在同一进程中实现多个{{< glossary_tooltip text="控制器" term_id="controller" >}}。
5252

53+
{{< note >}}
5354
<!--
5455
You can also run the cloud controller manager as a Kubernetes
5556
{{< glossary_tooltip text="addon" term_id="addons" >}} rather than as part
5657
of the control plane.
5758
-->
58-
{{< note >}}
59-
你也可以用 Kubernetes {{< glossary_tooltip text="插件" term_id="addons" >}}
59+
你也可以用 Kubernetes {{< glossary_tooltip text="插件" term_id="addons" >}}
6060
的形式而不是控制面中的一部分来运行云控制器管理器。
6161
{{< /note >}}
6262

@@ -78,8 +78,7 @@ hosts running inside your tenancy with the cloud provider. The node controller p
7878
-->
7979
### 节点控制器 {#node-controller}
8080

81-
节点控制器负责在云基础设施中创建了新服务器时为之 更新
82-
{{< glossary_tooltip text="节点(Node)" term_id="node" >}}对象。
81+
节点控制器负责在云基础设施中创建了新服务器时为之更新{{< glossary_tooltip text="节点(Node)" term_id="node" >}}对象。
8382
节点控制器从云提供商获取当前租户中主机的信息。节点控制器执行以下功能:
8483

8584
<!--
@@ -158,7 +157,7 @@ to read and modify Node objects.
158157

159158
节点控制器只操作 Node 对象。它需要读取和修改 Node 对象的完全访问权限。
160159

161-
`v1/Node`:
160+
`v1/Node`
162161

163162
- Get
164163
- List
@@ -179,31 +178,31 @@ routes appropriately. It requires Get access to Node objects.
179178
路由控制器会监听 Node 对象的创建事件,并据此配置路由设施。
180179
它需要读取 Node 对象的 Get 权限。
181180

182-
`v1/Node`:
181+
`v1/Node`
183182

184183
- Get
185184

186185
<!--
187186
### Service controller {#authorization-service-controller}
188187
189-
The service controller listens to Service object Create, Update and Delete events and then configures Endpoints for those Services appropriately.
188+
The service controller listens to Service object Create, Update and Delete events and then configures Endpoints for those Services appropriately (for EndpointSlices, the kube-controller-manager manages these on demand).
190189
191190
To access Services, it requires List, and Watch access. To update Services, it requires Patch and Update access.
192191
193192
To set up Endpoints resources for the Services, it requires access to Create, List, Get, Watch, and Update.
194193
-->
195194
### 服务控制器 {#authorization-service-controller}
196195

197-
服务控制器监测 Service 对象的 Create、Update 和 Delete 事件,
198-
并配置对应服务的 Endpoints 对象
196+
服务控制器监测 Service 对象的 Create、Update 和 Delete 事件,并配置对应服务的 Endpoints 对象
197+
(对于 EndpointSlices,kube-controller-manager 按需对其进行管理)
199198

200199
为了访问 Service 对象,它需要 List 和 Watch 访问权限。
201200
为了更新 Service 对象,它需要 Patch 和 Update 访问权限。
202201

203202
为了能够配置 Service 对应的 Endpoints 资源,
204203
它需要 Create、List、Get、Watch 和 Update 等访问权限。
205204

206-
`v1/Service`:
205+
`v1/Service`
207206

208207
- List
209208
- Get
@@ -234,13 +233,13 @@ controller manager looks like:
234233
在云控制器管理器的实现中,其核心部分需要创建 Event 对象的访问权限,
235234
并创建 ServiceAccount 资源以保证操作安全性的权限。
236235

237-
`v1/Event`:
236+
`v1/Event`
238237

239238
- Create
240239
- Patch
241240
- Update
242241

243-
`v1/ServiceAccount`:
242+
`v1/ServiceAccount`
244243

245244
- Create
246245

@@ -322,7 +321,8 @@ Want to know how to implement your own cloud controller manager, or extend an ex
322321
[云控制器管理器的管理](/zh-cn/docs/tasks/administer-cluster/running-cloud-controller/#cloud-controller-manager)
323322
给出了运行和管理云控制器管理器的指南。
324323
325-
要升级 HA 控制平面以使用云控制器管理器,请参见[将复制的控制平面迁移以使用云控制器管理器](/zh-cn/docs/tasks/administer-cluster/controller-manager-leader-migration/)。
324+
要升级 HA 控制平面以使用云控制器管理器,
325+
请参见[将复制的控制平面迁移以使用云控制器管理器](/zh-cn/docs/tasks/administer-cluster/controller-manager-leader-migration/)。
326326
327327
想要了解如何实现自己的云控制器管理器,或者对现有项目进行扩展么?
328328
@@ -343,7 +343,5 @@ For more information about developing plugins, see [Developing Cloud Controller
343343
CloudProvider 接口的框架的代码,都是 Kubernetes 的核心代码。
344344
特定于云驱动的实现虽不是 Kubernetes 核心成分,仍要实现 `CloudProvider` 接口。
345345

346-
关于如何开发插件的详细信息,可参考
347-
[开发云控制器管理器](/zh-cn/docs/tasks/administer-cluster/developing-cloud-controller-manager/)
348-
文档。
349-
346+
关于如何开发插件的详细信息,
347+
可参考[开发云控制器管理器](/zh-cn/docs/tasks/administer-cluster/developing-cloud-controller-manager/)文档。

0 commit comments

Comments
 (0)