Kubernetes YAML Validator
Paste one or more Kubernetes manifests (multi-document YAML supported) and get an instant structural validation. Required fields (apiVersion, kind, metadata.name, spec) are checked per kind, common mistakes (missing replicas, no resource limits, deprecated apiVersion, missing selector, plaintext Secret data) are flagged, and every issue is tagged with a line number from the source so you can jump straight to the problem.
How to use
- 1
Paste your manifest
Drop one or more YAML documents (separated by ---) into the input.
- 2
Validate
Click Validate. Each document is parsed and checked against kind-specific rules.
- 3
Read the issues
Every issue has a severity (✗ error, ⚠ warning, ℹ info), a field path and a line number from the source.
- 4
Fix and re-validate
Edit the YAML and click Validate again. The summary shows how many docs are valid, warned or errored.
Common use cases
- Catch missing required fields before kubectl apply rejects your manifest.
- Review a PR with multiple manifests at once and see all issues in one view.
- Learn the required structure of common Kubernetes kinds (Deployment, Service, Ingress, …).
- Spot best-practice issues like missing resource limits or plaintext Secret data.
Limitations
- This is a structural validator, not a full Kubernetes schema validator. It does not run
kubeconformorkubectl apply --dry-run=server. - CRDs are not loaded — custom resources get only the generic required-fields check.
- Line numbers are best-effort: they point to the first occurrence of the relevant key in the source, which for multi-document YAML is approximate.
- The tool does not connect to a cluster, so it cannot check namespace existence, RBAC or admission webhooks.