Add created by label (#27612)
* Add created by label * Update content/en/docs/concepts/overview/working-with-objects/common-labels.md
This commit is contained in:
@@ -39,7 +39,8 @@ on every resource object.
|
|||||||
| `app.kubernetes.io/version` | The current version of the application (e.g., a semantic version, revision hash, etc.) | `5.7.21` | string |
|
| `app.kubernetes.io/version` | The current version of the application (e.g., a semantic version, revision hash, etc.) | `5.7.21` | string |
|
||||||
| `app.kubernetes.io/component` | The component within the architecture | `database` | string |
|
| `app.kubernetes.io/component` | The component within the architecture | `database` | string |
|
||||||
| `app.kubernetes.io/part-of` | The name of a higher level application this one is part of | `wordpress` | string |
|
| `app.kubernetes.io/part-of` | The name of a higher level application this one is part of | `wordpress` | string |
|
||||||
| `app.kubernetes.io/managed-by` | The tool being used to manage the operation of an application | `helm` | string |
|
| `app.kubernetes.io/managed-by` | The tool being used to manage the operation of an application | `helm` | string |
|
||||||
|
| `app.kubernetes.io/created-by` | The controller/user who created this resource | `controller-manager` | string |
|
||||||
|
|
||||||
To illustrate these labels in action, consider the following StatefulSet object:
|
To illustrate these labels in action, consider the following StatefulSet object:
|
||||||
|
|
||||||
@@ -54,6 +55,7 @@ metadata:
|
|||||||
app.kubernetes.io/component: database
|
app.kubernetes.io/component: database
|
||||||
app.kubernetes.io/part-of: wordpress
|
app.kubernetes.io/part-of: wordpress
|
||||||
app.kubernetes.io/managed-by: helm
|
app.kubernetes.io/managed-by: helm
|
||||||
|
app.kubernetes.io/created-by: controller-manager
|
||||||
```
|
```
|
||||||
|
|
||||||
## Applications And Instances Of Applications
|
## Applications And Instances Of Applications
|
||||||
@@ -170,4 +172,3 @@ metadata:
|
|||||||
|
|
||||||
With the MySQL `StatefulSet` and `Service` you'll notice information about both MySQL and WordPress, the broader application, are included.
|
With the MySQL `StatefulSet` and `Service` you'll notice information about both MySQL and WordPress, the broader application, are included.
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user