Kubernetes annotation

A key-value note attached to a Kubernetes object for tools to read, without affecting how objects are selected.

In more detail

Unlike labels, annotations are not used to select objects, so they can hold longer or structured values. Tools such as Argo CD read their own annotations to change how they treat a resource.

Example

argocd.argoproj.io/sync-wave: "1"

Related terms

Taught in

References