Skip to content

Commit b3219ad

Browse files
authored
Merge pull request #29896 from jeefy/update-change-cause-docs
Add change-cause annotation to labels/annotations page
2 parents 378b0e5 + aefc9df commit b3219ad

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

content/en/docs/reference/labels-annotations-taints.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,16 @@ The Kubelet populates this label with the hostname. Note that the hostname can b
6262
This label is also used as part of the topology hierarchy. See [topology.kubernetes.io/zone](#topologykubernetesiozone) for more information.
6363

6464

65+
## kubernetes.io/change-cause {#change-cause}
66+
67+
Example: `kubernetes.io/change-cause=kubectl edit --record deployment foo`
68+
69+
Used on: All Objects
70+
71+
This annotation is a best guess at why something was changed.
72+
73+
It is populated when adding `--record` to a `kubectl` command that may change an object.
74+
6575
## controller.kubernetes.io/pod-deletion-cost {#pod-deletion-cost}
6676

6777
Example: `controller.kubernetes.io/pod-deletion-cost=10`

0 commit comments

Comments
 (0)