Kubernetes YAML Validator

Check Kubernetes manifests for removed API versions, selectors that miss their pods, bad names and labels, unknown fields, missing resources and probes.

Processed on your device. Files are not uploaded

How to check Kubernetes YAML

  1. Paste your Kubernetes YAML

    Paste or type your Kubernetes YAML into the box, or press Try an example.

  2. Read the problems

    Each one names the object and field.

  3. Fix and paste again

    Several documents separated by --- are checked together.

When to use Kubernetes YAML Validator

kubectl apply fails, or worse, succeeds but the pods never get traffic and you cannot see why.

You are upgrading a cluster and want to find manifests that use API versions the new version removed.

Tips for a better Kubernetes YAML Validator result

Look for selector warnings first: a Deployment whose selector misses its pods, or a Service that matches nothing, is the most common silent failure.

Paste every manifest for an app at once so Services are checked against the Deployments in the same file.

Kubernetes YAML Validator: limits and what to check

Helm templates with {{ }} placeholders are not valid YAML until rendered, so run helm template first and check the output.

Fields from newer Kubernetes releases may be reported as unknown, so double-check any key you know is valid in your version.

About Kubernetes YAML Validator

Find the Kubernetes mistakes that cost the most time: API versions removed in newer clusters, Deployment selectors that do not match their pod labels, names that break the naming rules, misspelled fields that are silently dropped, memory written as m instead of Mi, and containers with no resources or probes.

FAQs

Does it know my cluster version?

It flags API versions removed by current Kubernetes releases. Use kubectl apply --dry-run=server for your exact cluster.

Why is 128m memory flagged?

m means thousandths, so 128m is a fraction of a byte. You almost certainly meant 128Mi.

Does it check custom resources?

It checks their names and metadata but not their spec, since that depends on the CRD.

Related tools