[zh] Sync concepts pages for extend-kubernetes\operator.md
* Sync with english version in 'Update operator page to list tools in alphabetical order (#26676)' Signed-off-by: ydFu <ader.ydfu@gmail.com>
This commit is contained in:
parent
52997fc40d
commit
02fe081de4
|
@ -185,57 +185,63 @@ kubectl edit SampleDB/example-database # 手动修改某些配置
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
…and that's it! The Operator will take care of applying the changes as well as keeping the existing service in good shape.
|
…and that's it! The Operator will take care of applying the changes as well as keeping the existing service in good shape.
|
||||||
|
|
||||||
## Writing your own Operator {#writing-operator}
|
|
||||||
-->
|
-->
|
||||||
可以了!Operator 会负责应用所作的更改并保持现有服务处于良好的状态。
|
可以了!Operator 会负责应用所作的更改并保持现有服务处于良好的状态。
|
||||||
|
|
||||||
|
<!--
|
||||||
|
## Writing your own Operator {#writing-operator}
|
||||||
|
-->
|
||||||
|
|
||||||
## 编写你自己的 Operator {#writing-operator}
|
## 编写你自己的 Operator {#writing-operator}
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
If there isn't an Operator in the ecosystem that implements the behavior you
|
If there isn't an Operator in the ecosystem that implements the behavior you
|
||||||
want, you can code your own. In [What's next](#what-s-next) you'll find a few
|
want, you can code your own.
|
||||||
links to libraries and tools you can use to write your own cloud native
|
|
||||||
Operator.
|
|
||||||
|
|
||||||
You also implement an Operator (that is, a Controller) using any language / runtime
|
You also implement an Operator (that is, a Controller) using any language / runtime
|
||||||
that can act as a [client for the Kubernetes API](/docs/reference/using-api/client-libraries/).
|
that can act as a [client for the Kubernetes API](/docs/reference/using-api/client-libraries/).
|
||||||
|
|
||||||
-->
|
-->
|
||||||
|
|
||||||
如果生态系统中没可以实现你目标的 Operator,你可以自己编写代码。在
|
如果生态系统中没可以实现你目标的 Operator,你可以自己编写代码。
|
||||||
[接下来](#what-s-next)一节中,你会找到编写自己的云原生 Operator
|
|
||||||
需要的库和工具的链接。
|
|
||||||
|
|
||||||
你还可以使用任何支持 [Kubernetes API 客户端](/zh/docs/reference/using-api/client-libraries/)
|
你还可以使用任何支持 [Kubernetes API 客户端](/zh/docs/reference/using-api/client-libraries/)
|
||||||
的语言或运行时来实现 Operator(即控制器)。
|
的语言或运行时来实现 Operator(即控制器)。
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Following are a few libraries and tools you can use to write your own cloud native
|
||||||
|
Operator.
|
||||||
|
|
||||||
|
{{% thirdparty-content %}}
|
||||||
|
|
||||||
|
* [kubebuilder](https://book.kubebuilder.io/)
|
||||||
|
* [KUDO](https://kudo.dev/) (Kubernetes Universal Declarative Operator)
|
||||||
|
* [Metacontroller](https://metacontroller.app/) along with WebHooks that
|
||||||
|
you implement yourself
|
||||||
|
* [Operator Framework](https://operatorframework.io)
|
||||||
|
-->
|
||||||
|
以下是一些库和工具,你可用于编写自己的云原生 Operator。
|
||||||
|
|
||||||
|
{{% thirdparty-content %}}
|
||||||
|
|
||||||
|
* [kubebuilder](https://book.kubebuilder.io/)
|
||||||
|
* [KUDO](https://kudo.dev/) (Kubernetes 通用声明式 Operator)
|
||||||
|
* [Metacontroller](https://metacontroller.app/),可与 Webhooks 结合使用,以实现自己的功能。
|
||||||
|
* [Operator Framework](https://operatorframework.io)
|
||||||
|
|
||||||
## {{% heading "whatsnext" %}}
|
## {{% heading "whatsnext" %}}
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
* Learn more about [Custom Resources](/docs/concepts/extend-kubernetes/api-extension/custom-resources/)
|
* Learn more about [Custom Resources](/docs/concepts/extend-kubernetes/api-extension/custom-resources/)
|
||||||
* Find ready-made operators on [OperatorHub.io](https://operatorhub.io/) to suit your use case
|
* Find ready-made operators on [OperatorHub.io](https://operatorhub.io/) to suit your use case
|
||||||
* Use existing tools to write your own operator, eg:
|
|
||||||
* using [KUDO](https://kudo.dev/) (Kubernetes Universal Declarative Operator)
|
|
||||||
* using [kubebuilder](https://book.kubebuilder.io/)
|
|
||||||
* using [Metacontroller](https://metacontroller.app/) along with WebHooks that
|
|
||||||
you implement yourself
|
|
||||||
* using the [Operator Framework](https://operatorframework.io)
|
|
||||||
* [Publish](https://operatorhub.io/) your operator for other people to use
|
* [Publish](https://operatorhub.io/) your operator for other people to use
|
||||||
* Read [CoreOS' original article](https://coreos.com/blog/introducing-operators.html) that introduced the Operator pattern
|
* Read [CoreOS' original article](https://web.archive.org/web/20170129131616/https://coreos.com/blog/introducing-operators.html) that introduced the Operator pattern (this is an archived version of the original article).
|
||||||
* Read an [article](https://cloud.google.com/blog/products/containers-kubernetes/best-practices-for-building-kubernetes-operators-and-stateful-apps) from Google Cloud about best practices for building Operators
|
* Read an [article](https://cloud.google.com/blog/products/containers-kubernetes/best-practices-for-building-kubernetes-operators-and-stateful-apps) from Google Cloud about best practices for building Operators
|
||||||
-->
|
-->
|
||||||
|
|
||||||
* 详细了解[定制资源](/zh/docs/concepts/extend-kubernetes/api-extension/custom-resources/)
|
* 详细了解 [定制资源](/zh/docs/concepts/extend-kubernetes/api-extension/custom-resources/)
|
||||||
* 在 [OperatorHub.io](https://operatorhub.io/) 上找到现成的、适合你的 Operator
|
* 在 [OperatorHub.io](https://operatorhub.io/) 上找到现成的、适合你的 Operator
|
||||||
* 借助已有的工具来编写你自己的 Operator,例如:
|
|
||||||
* [KUDO](https://kudo.dev/) (Kubernetes 通用声明式 Operator)
|
|
||||||
* [kubebuilder](https://book.kubebuilder.io/)
|
|
||||||
* [Metacontroller](https://metacontroller.app/),可与 Webhook 结合使用,以实现自己的功能。
|
|
||||||
* [Operator Framework](https://operatorframework.io)
|
|
||||||
* [发布](https://operatorhub.io/)你的 Operator,让别人也可以使用
|
* [发布](https://operatorhub.io/)你的 Operator,让别人也可以使用
|
||||||
* 阅读 [CoreOS 原文](https://coreos.com/blog/introducing-operators.html),其介绍了 Operator 介绍
|
* 阅读 [CoreOS 原始文章](https://web.archive.org/web/20170129131616/https://coreos.com/blog/introducing-operators.html),它介绍了 Operator 模式(这是一个存档版本的原始文章)。
|
||||||
* 阅读这篇来自谷歌云的关于构建 Operator 最佳实践的
|
* 阅读这篇来自谷歌云的关于构建 Operator 最佳实践的
|
||||||
[文章](https://cloud.google.com/blog/products/containers-kubernetes/best-practices-for-building-kubernetes-operators-and-stateful-apps)
|
[文章](https://cloud.google.com/blog/products/containers-kubernetes/best-practices-for-building-kubernetes-operators-and-stateful-apps)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue