From aefc9dfe6e311849a708ab8df85cf8b7576dfbf2 Mon Sep 17 00:00:00 2001 From: Jeffrey Sica Date: Sat, 2 Oct 2021 15:53:08 -0400 Subject: [PATCH] add change-cause annotation to labels/annotations page --- content/en/docs/reference/labels-annotations-taints.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/content/en/docs/reference/labels-annotations-taints.md b/content/en/docs/reference/labels-annotations-taints.md index 07e6d19426..c8a1f2993a 100644 --- a/content/en/docs/reference/labels-annotations-taints.md +++ b/content/en/docs/reference/labels-annotations-taints.md @@ -63,6 +63,16 @@ The Kubelet populates this label with the hostname. Note that the hostname can b This label is also used as part of the topology hierarchy. See [topology.kubernetes.io/zone](#topologykubernetesiozone) for more information. +## kubernetes.io/change-cause {#change-cause} + +Example: `kubernetes.io/change-cause=kubectl edit --record deployment foo` + +Used on: All Objects + +This annotation is a best guess at why something was changed. + +It is populated when adding `--record` to a `kubectl` command that may change an object. + ## controller.kubernetes.io/pod-deletion-cost {#pod-deletion-cost} Example: `controller.kubernetes.io/pod-deletion-cost=10`