Kubernetes Labels and Selectors
Kubernetes Labels and Selectors are the tags and matching rules Kubernetes uses to group objects. A label is a key and value pair attached to an object (for example, app=payments on a Pod). A selector is a query over labels, and Services, Deployments and network policies use selectors to find the Pods they act on. A Service with the selector app=payments sends traffic only to Pods that carry that label.

See also Kubernetes LimitRange, Kubernetes Liveness Probe, Kubernetes MutatingAdmissionWebhook, Kubernetes Namespace, Kubernetes NetworkPolicy, Kubernetes Node.