@@ -69,20 +69,20 @@ on every resource object.
6969| Key | Description | Example | Type |
7070| ----------------------------------- | --------------------- | -------- | ---- |
7171| `app.kubernetes.io/name` | The name of the application | `mysql` | string |
72- | `app.kubernetes.io/instance` | A unique name identifying the instance of an application | `mysql-abcxzy ` | string |
72+ | `app.kubernetes.io/instance` | A unique name identifying the instance of an application | `mysql-abcxyz ` | string |
7373| `app.kubernetes.io/version` | The current version of the application (e.g., a [SemVer 1.0](https://semver.org/spec/v1.0.0.html), revision hash, etc.) | `5.7.21` | string |
7474| `app.kubernetes.io/component` | The component within the architecture | `database` | string |
7575| `app.kubernetes.io/part-of` | The name of a higher level application this one is part of | `wordpress` | string |
76- | `app.kubernetes.io/managed-by` | The tool being used to manage the operation of an application | `helm ` | string |
76+ | `app.kubernetes.io/managed-by` | The tool being used to manage the operation of an application | `Helm ` | string |
7777-->
7878| 键 | 描述 | 示例 | 类型 |
7979| ----------------------------------- | --------------------- | -------- | ---- |
8080| ` app.kubernetes.io/name ` | 应用程序的名称 | ` mysql ` | 字符串 |
81- | ` app.kubernetes.io/instance ` | 用于唯一确定应用实例的名称 | ` mysql-abcxzy ` | 字符串 |
81+ | ` app.kubernetes.io/instance ` | 用于唯一确定应用实例的名称 | ` mysql-abcxyz ` | 字符串 |
8282| ` app.kubernetes.io/version ` | 应用程序的当前版本(例如[ 语义版本 1.0] ( https://semver.org/spec/v1.0.0.html ) 、修订版哈希等) | ` 5.7.21 ` | 字符串 |
8383| ` app.kubernetes.io/component ` | 架构中的组件 | ` database ` | 字符串 |
8484| ` app.kubernetes.io/part-of ` | 此级别的更高级别应用程序的名称 | ` wordpress ` | 字符串 |
85- | ` app.kubernetes.io/managed-by ` | 用于管理应用程序的工具 | ` helm ` | 字符串 |
85+ | ` app.kubernetes.io/managed-by ` | 用于管理应用程序的工具 | ` Helm ` | 字符串 |
8686
8787<!--
8888To illustrate these labels in action, consider the following {{< glossary_tooltip text="StatefulSet" term_id="statefulset" >}} object:
@@ -96,11 +96,11 @@ kind: StatefulSet
9696metadata :
9797 labels :
9898 app.kubernetes.io/name : mysql
99- app.kubernetes.io/instance : mysql-abcxzy
99+ app.kubernetes.io/instance : mysql-abcxyz
100100 app.kubernetes.io/version : " 5.7.21"
101101 app.kubernetes.io/component : database
102102 app.kubernetes.io/part-of : wordpress
103- app.kubernetes.io/managed-by : helm
103+ app.kubernetes.io/managed-by : Helm
104104` ` `
105105
106106<!--
@@ -113,7 +113,7 @@ than once where different websites are different installations of WordPress.
113113The name of an application and the instance name are recorded separately. For
114114example, WordPress has a ` app.kubernetes.io/name` of `wordpress` while it has
115115an instance name, represented as `app.kubernetes.io/instance` with a value of
116- ` wordpress-abcxzy ` . This enables the application and instance of the application
116+ ` wordpress-abcxyz ` . This enables the application and instance of the application
117117to be identifiable. Every instance of an application must have a unique name.
118118-->
119119# # 应用和应用实例 {#application-and-instances-of-applications}
@@ -123,7 +123,7 @@ to be identifiable. Every instance of an application must have a unique name.
123123
124124应用的名称和实例的名称是分别记录的。例如,WordPress 应用的
125125` app.kubernetes.io/name` 为 `wordpress`,而其实例名称
126- ` app.kubernetes.io/instance` 为 `wordpress-abcxzy `。
126+ ` app.kubernetes.io/instance` 为 `wordpress-abcxyz `。
127127这使得应用和应用的实例均可被识别,应用的每个实例都必须具有唯一的名称。
128128
129129<!--
@@ -158,7 +158,7 @@ kind: Deployment
158158metadata:
159159 labels:
160160 app.kubernetes.io/name: myservice
161- app.kubernetes.io/instance: myservice-abcxzy
161+ app.kubernetes.io/instance: myservice-abcxyz
162162...
163163` ` `
164164
@@ -173,7 +173,7 @@ kind: Service
173173metadata:
174174 labels:
175175 app.kubernetes.io/name: myservice
176- app.kubernetes.io/instance: myservice-abcxzy
176+ app.kubernetes.io/instance: myservice-abcxyz
177177...
178178` ` `
179179
@@ -200,9 +200,9 @@ kind: Deployment
200200metadata:
201201 labels:
202202 app.kubernetes.io/name: wordpress
203- app.kubernetes.io/instance: wordpress-abcxzy
203+ app.kubernetes.io/instance: wordpress-abcxyz
204204 app.kubernetes.io/version: "4.9.4"
205- app.kubernetes.io/managed-by: helm
205+ app.kubernetes.io/managed-by: Helm
206206 app.kubernetes.io/component: server
207207 app.kubernetes.io/part-of: wordpress
208208...
@@ -219,9 +219,9 @@ kind: Service
219219metadata:
220220 labels:
221221 app.kubernetes.io/name: wordpress
222- app.kubernetes.io/instance: wordpress-abcxzy
222+ app.kubernetes.io/instance: wordpress-abcxyz
223223 app.kubernetes.io/version: "4.9.4"
224- app.kubernetes.io/managed-by: helm
224+ app.kubernetes.io/managed-by: Helm
225225 app.kubernetes.io/component: server
226226 app.kubernetes.io/part-of: wordpress
227227...
@@ -238,9 +238,9 @@ kind: StatefulSet
238238metadata:
239239 labels:
240240 app.kubernetes.io/name: mysql
241- app.kubernetes.io/instance: mysql-abcxzy
241+ app.kubernetes.io/instance: mysql-abcxyz
242242 app.kubernetes.io/version: "5.7.21"
243- app.kubernetes.io/managed-by: helm
243+ app.kubernetes.io/managed-by: Helm
244244 app.kubernetes.io/component: database
245245 app.kubernetes.io/part-of: wordpress
246246...
@@ -257,9 +257,9 @@ kind: Service
257257metadata:
258258 labels:
259259 app.kubernetes.io/name: mysql
260- app.kubernetes.io/instance: mysql-abcxzy
260+ app.kubernetes.io/instance: mysql-abcxyz
261261 app.kubernetes.io/version: "5.7.21"
262- app.kubernetes.io/managed-by: helm
262+ app.kubernetes.io/managed-by: Helm
263263 app.kubernetes.io/component: database
264264 app.kubernetes.io/part-of: wordpress
265265...
0 commit comments