Kubernetes Manifest YAML
0 linesAbout Kubernetes YAML Validator
Kubernetes YAML Validator is a comprehensive client-side tool built to validate Kubernetes resource manifests against essential syntax, required field schemas, and operational best practices.
It supports multi-document files separated by three dashes (---), validates core metadata and workloads including Pod, Deployment, Service, Ingress, ConfigMap, Secret, Job, and CronJob, and flags missing probes or resource limits.
Key features
- Multi-Document Manifest Validation Seamlessly parses and validates multiple Kubernetes resource declarations defined in a single file separated by --- delimiters.
- Essential & Required Field Verification Verifies mandatory attributes including apiVersion, kind, metadata.name (DNS-1123 RFC compliance), and workload-specific spec configurations.
- Kind-Specific Schema Checking Validates workload specs for Pods, Deployments, StatefulSets, Services (ports & targetPorts), Ingress (pathTypes), and CronJobs (cron schedule syntax).
- Security & Operational Best Practices Detects missing CPU/memory resource limits, containers using :latest image tags, absent liveness/readiness probes, and deprecated apiVersions.
How to validate Kubernetes YAML manifests
Follow this procedure to validate and harden your Kubernetes manifest files before deploying with kubectl.
- Paste or choose K8s manifest Paste your Kubernetes YAML manifest into the editor or pick one of the full-stack templates such as Deployment + Service + Ingress.
- Review status and document overview Examine the summary bar to see total resources detected, overall validity, and warning or error counts.
- Inspect issues by severity Click on any error or best-practice suggestion in the issues list to pinpoint the exact field path and line number in the editor.
- Explore resource cards and export Browse the detected resources tab to verify names, namespaces, and selectors, then format or copy the validated YAML.
Usage tips
- Always specify CPU and memory requests and limits to prevent containers from starving neighboring pods on nodes.
- Avoid using the :latest tag in production manifests to prevent unexpected image updates during container restarts.
- Ensure the matchLabels defined in spec.selector match the labels defined in spec.template.metadata.labels for Deployments.
- Resource names must comply with RFC 1123: lowercase alphanumeric characters or hyphens (-), starting and ending with an alphanumeric character.