Blog
Thoughts on engineering, design, and building great products.
Labels, selectors, namespaces and annota...
DevOpsKubernetes
Labels, selectors, namespaces and annotations
We've typed -l app=web dozens of times without stopping to ask how it works. This article opens Part V with the toolkit for organizing and querying objects: labels to tag and select (equality and set-based), annotations to attach non-identifying metadata, namespaces to isolate, and field selectors to filter by built-in fields. Each kind of selector is tested for real on a basket of labeled pods.
K
KaiMay 24, 2026· 19 viewsNamespaces, Labels and Selectors
DevOpsKubernetes
Namespaces, Labels and Selectors
Two foundational organizing mechanisms in Kubernetes: namespaces split the cluster into separate compartments, while labels/selectors are how you tag and select resources — the very 'glue' that Deployment and Service use to find pods. This article makes both clear with real examples.
K
KaiMay 23, 2026· 60 views