Skip to content

Commit

Permalink
Merge pull request #35810 from yilmi/created-by-deprecated
Browse files Browse the repository at this point in the history
Removing created-by label deprecated since 1.9
  • Loading branch information
k8s-ci-robot committed Sep 2, 2022
2 parents a4dde75 + bf29b18 commit 73aaba9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Expand Up @@ -40,7 +40,6 @@ on every resource object.
| `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/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 {{< glossary_tooltip text="StatefulSet" term_id="statefulset" >}} object:

Expand All @@ -56,7 +55,6 @@ metadata:
app.kubernetes.io/component: database
app.kubernetes.io/part-of: wordpress
app.kubernetes.io/managed-by: helm
app.kubernetes.io/created-by: controller-manager
```

## Applications And Instances Of Applications
Expand Down
6 changes: 4 additions & 2 deletions content/en/docs/reference/labels-annotations-taints/_index.md
Expand Up @@ -25,15 +25,17 @@ The component within the architecture.

One of the [recommended labels](/docs/concepts/overview/working-with-objects/common-labels/#labels).

### app.kubernetes.io/created-by
### app.kubernetes.io/created-by (deprecated)

Example: `app.kubernetes.io/created-by: "controller-manager"`

Used on: All Objects

The controller/user who created this resource.

One of the [recommended labels](/docs/concepts/overview/working-with-objects/common-labels/#labels).
{{< note >}}
Starting from v1.9, this label is deprecated.
{{< /note >}}

### app.kubernetes.io/instance

Expand Down

0 comments on commit 73aaba9

Please sign in to comment.