Update _index.md

Releated PR:

https://github.com/kubernetes/website/pull/30337
This commit is contained in:
Wang
2021-11-03 14:10:55 +09:00
committed by GitHub
parent f8276a4830
commit 6ae08f504e
@@ -155,11 +155,12 @@ calls out to a remote service, it is called a *Webhook*. The remote service
is called a *Webhook Backend*. Like Controllers, Webhooks do add a point of is called a *Webhook Backend*. Like Controllers, Webhooks do add a point of
failure. failure.
--> -->
编写客户端程序有一种特殊的*Controller控制器*模式,能够与 Kubernetes 很好地 编写客户端程序有一种特殊的 *Controller(控制器)* 模式,能够与 Kubernetes 很好地
协同工作。控制器通常会读取某个对象的 `.spec`,或许还会执行一些操作,之后更新 协同工作。控制器通常会读取某个对象的 `.spec`,或许还会执行一些操作,之后更新
对象的 `.status` 对象的 `.status`
*Controller(控制器)* 是 Kubernetes 的客户端。
控制器是 Kubernetes 的客户端。当 Kubernetes 充当客户端,调用某远程服务时,对应 当 Kubernetes 充当客户端,调用某远程服务时,对应
的远程组件称作*Webhook*。 远程服务称作*Webhook 后端*。 的远程组件称作*Webhook*。 远程服务称作*Webhook 后端*。
与控制器模式相似,Webhook 也会在整个架构中引入新的失效点(Point of Failure)。 与控制器模式相似,Webhook 也会在整个架构中引入新的失效点(Point of Failure)。