Kubernetes
Kubernetes Label Selector Tester
Enter a matchLabels or matchExpressions selector and a set of pod labels to test whether the selector matches, with per-condition results.
No data is transmitted โ everything runs locallyTool
About this tool
Kubernetes Label Selector Tester
The Kubernetes Label Selector Tester evaluates matchLabels and matchExpressions selectors against pod label sets, showing per-condition match results.
โข Verify a Service selector matches the pods it's supposed to route to
โข Test a Deployment selector before applying to avoid selecting wrong pods
โข Debug why a NetworkPolicy isn't selecting the intended pods
โข Validate matchExpressions operators before writing complex affinity rules
Next step
Init Container Overhead Calculator โ Calculate pod resource requests accounting for init container overhead and sequential startup.
Open Init Container Overhead Calculator โ
FAQ
What does this tool tell you?
The Kubernetes Label Selector Tester evaluates matchLabels and matchExpressions selectors against pod label sets, showing per-condition match results.
What affects the result most?
Tests matchLabels and matchExpressions selectors against a set of pod labels. matchLabels: exact equality for each key-value pair โ all must match. matchExpressions In: key must exist and value must be in the set.
How should I use the result?
Use the result as a planning baseline. It is generated from the inputs you provide, so varying the inputs shows you the sensitivity of the calculation. Your actual situation may include factors this tool does not model; treat the output as one input to your decision.
Related tools