So nutzt du: Kubernetes YAML Validator
- Paste one or more manifests separated by
---, open a file, or load the sample. - YAML syntax errors are shown with the line number.
- Each resource is checked for required fields, deprecated apiVersions and selector/label mismatches.
- Best-practice checks flag missing resource limits, probes,
:latestimages and insecure settings.
What is checked
| Check | Examples |
|---|---|
| Structure | apiVersion, kind and metadata.name present; names valid DNS-1123 labels; containers have a name and image |
| Deprecated APIs | extensions/v1beta1 Deployments and Ingresses, policy/v1beta1 PodDisruptionBudgets, batch/v1beta1 CronJobs and others removed in Kubernetes 1.16–1.25 |
| Wiring | Deployment selector matches the pod template labels; Services select pods defined in the same file; Ingress backends point to existing Services and ports |
| Reliability | CPU/memory requests and limits, readiness and liveness probes, more than one replica, unique container ports |
| Security | privileged, runAsNonRoot, allowPrivilegeEscalation, hostNetwork, hostPath volumes, secrets in plain env values |
The validator understands Deployments, StatefulSets, DaemonSets, Jobs, CronJobs, Pods, Services, Ingresses, ConfigMaps, Secrets, HPAs and more. Custom resources are syntax-checked and their basic metadata validated. For full schema validation against your exact cluster version, run kubectl apply --dry-run=server. Check plain YAML with the YAML validator and build images with the Dockerfile generator.
Auch gesucht als: k8s yaml validator, kubernetes manifest validator, kubernetes linter, kubeval online, validate kubernetes yaml, k8s lint.
Passende Tools zu: Kubernetes YAML Validator
- Kubernetes YAML Generator — Fill in your app’s name, image and port and get production-ready Kubernetes YAML: a Deployment with probes, resource limits and a hardened security context, plus the Service, Ingress with TLS, ConfigMap, Secret and HorizontalPodAutoscaler you tick — in one file ready for kubectl apply.
- Docker-Compose-Generator — Kreuze die Dienste an, die du brauchst – App, Datenbank, Cache, Admin-UI, Mail-Catcher – und du erhältst eine übersichtliche „compose.yaml“-Datei mit festgelegten Images, benannten Volumes, Healthchecks und depends_on Bedingungen sowie eine passende .env-Datei mit generierten Passwörtern.
- GitHub Actions Workflow Validator — Paste a workflow from .github/workflows and find problems before CI does — invalid triggers, missing runs-on, broken needs, bad expressions, outdated actions and script-injection risks.
- Docker Cheat Sheet — The Docker and Docker Compose commands you reach for every week, explained in one line.
Häufige Fragen
Does it connect to my cluster?
Can I validate Helm charts?
helm template ./chart and paste the output. Raw templates with {{ }} expressions are not valid YAML.