Skip to content

Kubernetes label

Items suitable to go into the .metadata.labels field of a Kubernetes object.

Labels are constrained; as well as being strings, you also have to use values that match the syntax of a DNS label name. For example, whitespace is not allowed.