What problem does it solve?
It helps you catch Kubernetes YAML issues early by validating manifests for syntax problems, schema/CRD correctness, and cluster-time admission or policy errors—without changing anything.
Core Features & Use Cases
- Report-only manifest validation: Produces a staged, consolidated report and never edits files or suggests applying changes automatically.
- Multi-stage checking: Runs document counting, tool availability checks, YAML linting, CRD detection/document lookup, strict schema validation, and dry-run testing when possible.
- CRD-aware insights: Detects CRD kinds and pulls version-relevant documentation (Context7 first, then web search) to explain required fields and constraints.
- Use case: Validate a Helm-rendered manifest containing multiple resources (e.g., Deployment + Service + CRDs) to identify typos, missing fields, wrong types, and schema mismatches before you apply it.
Quick Start
Use k8s-yaml-validator to validate your Kubernetes YAML manifest (for example, attached file.yaml) and get a report of all detected issues with exact file line numbers.