Skip to content

Commit aefc9df

Browse files
committed
add change-cause annotation to labels/annotations page
1 parent 9c475f3 commit aefc9df

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
@@ -63,6 +63,16 @@ The Kubelet populates this label with the hostname. Note that the hostname can b
6363
This label is also used as part of the topology hierarchy. See [topology.kubernetes.io/zone](#topologykubernetesiozone) for more information.
6464

6565

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

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

0 commit comments

Comments
 (0)