Kubernetes Labels and Annotations: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
(Created page with "=Internal= * Kubernetes Concepts =<span id='Label'></span>Labels= =<span id='Annotation'></span>Annotations=")
 
Line 5: Line 5:


=<span id='Label'></span>Labels=
=<span id='Label'></span>Labels=
A label contains identifying information.
Labels are used by selector queries, or within selector sections of object definitions.
The structure of keys and values is constrained, so they can be evaluated quickly.
<font color='darkgray'>TODO: Label syntax and character set: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#syntax-and-character-set</font>.
=<span id='Annotation'></span>Annotations=
=<span id='Annotation'></span>Annotations=

Revision as of 00:53, 7 September 2019

Internal


Labels

A label contains identifying information.

Labels are used by selector queries, or within selector sections of object definitions.

The structure of keys and values is constrained, so they can be evaluated quickly.

TODO: Label syntax and character set: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#syntax-and-character-set.

Annotations