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
- sync wave — A number set in an annotation that tells Argo CD which resources to apply first during a sync.
- Kubernetes label — A small key and value pair attached to an object, such as app=web, that other objects and commands use to find it.
Taught in
- Sync Waves and Dependency Management — Continuous Integration & Continuous Delivery Pipelines