@@ -50,16 +50,16 @@ many core Kubernetes functions are now built using custom resources, making Kube
50
50
Custom resources can appear and disappear in a running cluster through dynamic registration,
51
51
and cluster admins can update custom resources independently of the cluster itself.
52
52
Once a custom resource is installed, users can create and access its objects using
53
- [ kubectl](/docs/reference/ kubectl/) , just as they do for built-in resources like
54
- *Pods*.
53
+ {{< glossary_tooltip text=" kubectl" term_id=" kubectl" >}} , just as they do for built-in resources
54
+ like *Pods*.
55
55
-->
56
56
** 定制资源(Custom Resource)** 是对 Kubernetes API 的扩展,不一定在默认的
57
57
Kubernetes 安装中就可用。
58
58
定制资源所代表的是对特定 Kubernetes 安装的一种定制。
59
59
不过,很多 Kubernetes 核心功能现在都用定制资源来实现,这使得 Kubernetes 更加模块化。
60
60
61
61
定制资源可以通过动态注册的方式在运行中的集群内或出现或消失,集群管理员可以独立于集群更新定制资源。
62
- 一旦某定制资源被安装,用户可以使用 [ kubectl] ( /zh-cn/docs/reference/ kubectl/ ) 来创建和访问其中的对象,
62
+ 一旦某定制资源被安装,用户可以使用 {{< glossary_tooltip text=" kubectl" term_id=" kubectl" >}} 来创建和访问其中的对象,
63
63
就像他们为 ** Pod** 这种内置资源所做的一样。
64
64
65
65
<!--
@@ -100,7 +100,7 @@ for specific applications into an extension of the Kubernetes API.
100
100
你可以使用定制控制器来将特定于某应用的领域知识组织起来,以编码的形式构造对 Kubernetes API 的扩展。
101
101
102
102
<!--
103
- ## Should I add a custom resource to my Kubernetes Cluster ?
103
+ ## Should I add a custom resource to my Kubernetes cluster ?
104
104
105
105
When creating a new API, consider whether to
106
106
[aggregate your API with the Kubernetes cluster APIs](/docs/concepts/extend-kubernetes/api-extension/apiserver-aggregation/)
@@ -185,13 +185,13 @@ Signs that your API might not be declarative include:
185
185
- 你决定使用操作 ID 或者操作对象来表现悬决的操作。
186
186
187
187
<!--
188
- ## Should I use a configMap or a custom resource?
188
+ ## Should I use a ConfigMap or a custom resource?
189
189
190
190
Use a ConfigMap if any of the following apply:
191
191
192
- * There is an existing, well-documented config file format, such as a `mysql.cnf` or `pom.xml`.
193
- * You want to put the entire config file into one key of a configMap.
194
- * The main use of the config file is for a program running in a Pod on your cluster to consume the file to configure itself.
192
+ * There is an existing, well-documented configuration file format, such as a `mysql.cnf` or `pom.xml`.
193
+ * You want to put the entire configuration file into one key of a configMap.
194
+ * The main use of the configuration file is for a program running in a Pod on your cluster to consume the file to configure itself.
195
195
* Consumers of the file prefer to consume via file in a Pod or environment variable in a pod, rather than the Kubernetes API.
196
196
* You want to perform rolling updates via Deployment, etc., when the file is updated.
197
197
-->
@@ -207,10 +207,10 @@ Use a ConfigMap if any of the following apply:
207
207
* 你希望当文件被更新时通过类似 Deployment 之类的资源完成滚动更新操作。
208
208
209
209
<!--
210
- Use a [ secret](/docs/concepts/configuration/secret/) for sensitive data, which is similar to a configMap but more secure.
210
+ Use a {{< glossary_tooltip text="Secret" term_id=" secret" >}} for sensitive data, which is similar to a configMap but more secure.
211
211
-->
212
212
{{< note >}}
213
- 请使用 [ Secret] ( /zh-cn/docs/concepts/configuration/ secret/ ) 来保存敏感数据。
213
+ 请使用 {{< glossary_tooltip text=" Secret" term_id=" secret" >}} 来保存敏感数据。
214
214
Secret 类似于 configMap,但更为安全。
215
215
{{< /note >}}
216
216
@@ -525,7 +525,7 @@ Kubernetes [client libraries](/docs/reference/using-api/client-libraries/) can b
525
525
When you add a custom resource, you can access it using:
526
526
527
527
- `kubectl`
528
- - The kubernetes dynamic client.
528
+ - The Kubernetes dynamic client.
529
529
- A REST client that you write.
530
530
- 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).
531
531
-->
0 commit comments