DeveloperFree to use

Runs in your browser. No file uploads for processing. Privacy details

Kubernetes Service Selector Checker

Check whether Kubernetes Service selectors match Pod and pod-template labels in the same namespace, without connecting to your cluster.

Loading tool...

Also reviewing a CronJob manifest? Check its standard five-field schedule.

How to check Kubernetes Service selectors before deploying

  1. Paste rendered manifests

    Include a v1 Service and the Pod or workload manifests it should target. You can also choose one multi-document YAML file.

  2. Check the namespace and template labels

    A Service in shop selecting app: checkout matches a Deployment with app: checkout under spec.template.metadata.labels in shop. A Deployment label alone or a matching Pod in staging does not count.

  3. Review unmatched or selectorless Services

    Check every selector key and value against the pod labels, then confirm the intended namespace. A selectorless Service has no automatic matches in this review.

Use cases

  • Spot a missing or renamed pod-template label before deployment.
  • Confirm a Service does not match a similarly named declaration in a different namespace.

Limits and privacy

  • Up to 512 KiB of UTF-8 YAML or JSON and 400 documents and List items. Supports v1 Service and Pod, apps/v1 Deployment, StatefulSet and DaemonSet, and batch/v1 Job and CronJob. Use rendered manifests; aliases in reviewed fields are not expanded.
  • No live API, Helm rendering, readiness, network policy, target-port or EndpointSlice validation. Unmatched means only that the supplied manifests contain no matching declaration.

The tool processes inputs in your browser. File processing and site analytics are separate.

Frequently asked questions

Can I check my Docker Compose configuration instead?

For Docker Compose, use Compose Variable Readiness to inventory interpolated variables in a Compose file. This selector comparison is for rendered Kubernetes manifests.

Does the Service match labels on the Deployment itself?

No. It selects Pod labels. A Deployment is compared using its pod template labels, not its own top-level labels.

Does a Service without a selector match every Pod?

No. The review lists it as selectorless. Services backed by manually supplied endpoints are outside the checker’s scope.

What is included in the JSON export?

Only counts and status totals. Service, namespace and workload names stay in the local preview, and labels are not exported.

Related tools