diff --git a/content/zh-cn/docs/concepts/extend-kubernetes/api-extension/custom-resources.md b/content/zh-cn/docs/concepts/extend-kubernetes/api-extension/custom-resources.md index 42e5b6436d..655b9f2065 100644 --- a/content/zh-cn/docs/concepts/extend-kubernetes/api-extension/custom-resources.md +++ b/content/zh-cn/docs/concepts/extend-kubernetes/api-extension/custom-resources.md @@ -50,8 +50,8 @@ many core Kubernetes functions are now built using custom resources, making Kube Custom resources can appear and disappear in a running cluster through dynamic registration, and cluster admins can update custom resources independently of the cluster itself. Once a custom resource is installed, users can create and access its objects using -[kubectl](/docs/reference/kubectl/), just as they do for built-in resources like -*Pods*. +{{< glossary_tooltip text="kubectl" term_id="kubectl" >}}, just as they do for built-in resources +like *Pods*. --> **定制资源(Custom Resource)** 是对 Kubernetes API 的扩展,不一定在默认的 Kubernetes 安装中就可用。 @@ -59,7 +59,7 @@ Kubernetes 安装中就可用。 不过,很多 Kubernetes 核心功能现在都用定制资源来实现,这使得 Kubernetes 更加模块化。 定制资源可以通过动态注册的方式在运行中的集群内或出现或消失,集群管理员可以独立于集群更新定制资源。 -一旦某定制资源被安装,用户可以使用 [kubectl](/zh-cn/docs/reference/kubectl/) 来创建和访问其中的对象, +一旦某定制资源被安装,用户可以使用 {{< glossary_tooltip text="kubectl" term_id="kubectl" >}} 来创建和访问其中的对象, 就像他们为 **Pod** 这种内置资源所做的一样。 @@ -207,10 +207,10 @@ Use a ConfigMap if any of the following apply: * 你希望当文件被更新时通过类似 Deployment 之类的资源完成滚动更新操作。 {{< note >}} -请使用 [Secret](/zh-cn/docs/concepts/configuration/secret/) 来保存敏感数据。 +请使用 {{< glossary_tooltip text="Secret" term_id="secret" >}} 来保存敏感数据。 Secret 类似于 configMap,但更为安全。 {{< /note >}} @@ -525,7 +525,7 @@ Kubernetes [client libraries](/docs/reference/using-api/client-libraries/) can b When you add a custom resource, you can access it using: - `kubectl` -- The kubernetes dynamic client. +- The Kubernetes dynamic client. - A REST client that you write. - A client generated using [Kubernetes client generation tools](https://github.com/kubernetes/code-generator) (generating one is an advanced undertaking, but some projects may provide a client along with the CRD or AA). -->