What is YAML validation?
Syntax validation checks whether YAML can be parsed: indentation, mappings, sequences, scalar values and multiple documents separated by ---. Parser errors include a line and column when available.
YAML vs Kubernetes validation
Valid YAML is not automatically a valid Kubernetes manifest. ObservKit also checks the presence and basic types of apiVersion, kind, metadata.name, spec and selected workload fields for common resources.
Common Kubernetes manifest errors
Typical structural errors include a missing resource name, a non-numeric replica count, an empty container list or a container without an image.
Conservative best practices
Workload advice—resource requests and limits, health probes, pinned image versions and label/selector alignment—is reported as a recommendation, not as a Kubernetes acceptance error.
This version does not bundle the complete Kubernetes OpenAPI schema or cluster-specific CRDs, admission policies and API discovery. It performs real YAML parsing plus documented structural rules for the listed common resource kinds. Use kubectl apply --dry-run=server against the target cluster for authoritative server-side validation.