What it is
Kubernetes Services and Deployments use label selectors to find matching Pods, and a typo or mismatch in labels silently produces a Service with zero backing endpoints.
When to use it
Use this before applying manifests to production, or while debugging a Service that returns connection errors despite Pods appearing healthy.
Gotchas & limits
matchLabels and matchExpressions selectors combine with AND logic; a Service that looks correct at a glance can still fail to match if even one label differs.