Skip to content

Commit 2c6bec0

Browse files
authored
Merge pull request #51629 from windsonsea/operaty
[zh] Sync extend-kubernetes/operator.md
2 parents 9ab554e + e0c1ad2 commit 2c6bec0

File tree

1 file changed

+6
-10
lines changed
  • content/zh-cn/docs/concepts/extend-kubernetes

1 file changed

+6
-10
lines changed

content/zh-cn/docs/concepts/extend-kubernetes/operator.md

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ title: Operator 模式
33
content_type: concept
44
weight: 30
55
---
6-
76
<!--
87
title: Operator pattern
98
content_type: concept
@@ -38,7 +37,7 @@ code to automate a task beyond what Kubernetes itself provides.
3837
-->
3938
## 初衷 {#motivation}
4039

41-
**Operator 模式** 旨在记述(正在管理一个或一组服务的)运维人员的关键目标。
40+
**Operator 模式**旨在记述(正在管理一个或一组服务的)运维人员的关键目标。
4241
这些运维人员负责一些特定的应用和 Service,他们需要清楚地知道系统应该如何运行、如何部署以及出现问题时如何处理。
4342

4443
在 Kubernetes 上运行工作负载的人们都喜欢通过自动化来处理重复的任务。
@@ -61,7 +60,7 @@ controllers for a [Custom Resource](/docs/concepts/extend-kubernetes/api-extensi
6160
## Kubernetes 上的 Operator {#operators-in-kubernetes}
6261

6362
Kubernetes 为自动化而生。无需任何修改,你即可以从 Kubernetes 核心中获得许多内置的自动化功能。
64-
你可以使用 Kubernetes 自动化部署和运行工作负载,**甚至** 可以自动化 Kubernetes 自身。
63+
你可以使用 Kubernetes 自动化部署和运行工作负载,**甚至**可以自动化 Kubernetes 自身。
6564

6665
Kubernetes 的 {{< glossary_tooltip text="Operator 模式" term_id="operator-pattern" >}}概念允许你在不修改
6766
Kubernetes 自身代码的情况下,
@@ -120,7 +119,6 @@ What might an operator look like in more detail? Here's an example:
120119
code checks to see if the database is running an old version and, if so,
121120
creates Job objects that upgrade it for you.
122121
-->
123-
124122
想要更详细的了解 Operator?下面是一个示例:
125123

126124
1. 有一个名为 SampleDB 的自定义资源,你可以将其配置到集群中。
@@ -196,7 +194,6 @@ want, you can code your own.
196194
You also implement an operator (that is, a Controller) using any language / runtime
197195
that can act as a [client for the Kubernetes API](/docs/reference/using-api/client-libraries/).
198196
-->
199-
200197
如果生态系统中没有可以实现你目标的 Operator,你可以自己编写代码。
201198

202199
你还可以使用任何支持
@@ -217,22 +214,22 @@ operator.
217214
* [Kopf](https://github.com/nolar/kopf) (Kubernetes Operator Pythonic Framework)
218215
* [kube-rs](https://kube.rs/) (Rust)
219216
* [kubebuilder](https://book.kubebuilder.io/)
220-
* [KubeOps](https://buehler.github.io/dotnet-operator-sdk/) (.NET operator SDK)
217+
* [KubeOps](https://dotnet.github.io/dotnet-operator-sdk/) (.NET operator SDK)
221218
* [Mast](https://docs.ansi.services/mast/user_guide/operator/)
222219
* [Metacontroller](https://metacontroller.github.io/metacontroller/intro.html) along with WebHooks that
223220
you implement yourself
224221
* [Operator Framework](https://operatorframework.io)
225222
* [shell-operator](https://github.com/flant/shell-operator)
226223
-->
227-
228224
* [Charmed Operator Framework](https://juju.is/)
229225
* [Java Operator SDK](https://github.com/operator-framework/java-operator-sdk)
230226
* [Kopf](https://github.com/nolar/kopf) (Kubernetes Operator Pythonic Framework)
231227
* [kube-rs](https://kube.rs/) (Rust)
232228
* [kubebuilder](https://book.kubebuilder.io/)
233-
* [KubeOps](https://buehler.github.io/dotnet-operator-sdk/) (.NET operator SDK)
229+
* [KubeOps](https://dotnet.github.io/dotnet-operator-sdk/) (.NET operator SDK)
234230
* [Mast](https://docs.ansi.services/mast/user_guide/operator/)
235-
* [Metacontroller](https://metacontroller.github.io/metacontroller/intro.html),可与 Webhook 结合使用,以实现自己的功能。
231+
* [Metacontroller](https://metacontroller.github.io/metacontroller/intro.html),可与
232+
Webhook 结合使用,以实现自己的功能。
236233
* [Operator Framework](https://operatorframework.io)
237234
* [shell-operator](https://github.com/flant/shell-operator)
238235

@@ -249,7 +246,6 @@ operator.
249246
* Read an [article](https://cloud.google.com/blog/products/containers-kubernetes/best-practices-for-building-kubernetes-operators-and-stateful-apps)
250247
from Google Cloud about best practices for building operators
251248
-->
252-
253249
* 阅读 {{< glossary_tooltip text="CNCF" term_id="cncf" >}} [Operator 白皮书](https://github.com/cncf/tag-app-delivery/blob/163962c4b1cd70d085107fc579e3e04c2e14d59c/operator-wg/whitepaper/Operator-WhitePaper_v1-0.md)
254250
* 详细了解[定制资源](/zh-cn/docs/concepts/extend-kubernetes/api-extension/custom-resources/)
255251
*[OperatorHub.io](https://operatorhub.io/) 上找到现成的、适合你的 Operator

0 commit comments

Comments
 (0)