Kubernetes: Labels vs Annotations

What’s the difference between a Label and an Annotation?

Labels containĀ identifying information and used by selector queries. They are used by Kubernetes internally so, for performance reasons, there are limits on the size of labels (63 characters or less).

https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/

 

Annotations are used forĀ non-identifying information, especially large and/or structured/unstructured data.

https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/

 

https://vsupalov.com/kubernetes-labels-annotations-difference/

Leave a Reply

Your email address will not be published. Required fields are marked *