Cette page n’est pas encore traduite en français : elle s’affiche en anglais.

Kubernetes YAML Validator & Linter

Paste Deployments, Services, Ingresses, ConfigMaps or a whole multi-document file. Every resource is checked for structure, deprecated APIs, broken label selectors and production best practices.

Mis à jour le
Report

Vos données ne quittent jamais votre ordinateur. Tout le traitement se fait localement dans votre navigateur.

Comment utiliser : Kubernetes YAML Validator

  1. Paste one or more manifests separated by ---, open a file, or load the sample.
  2. YAML syntax errors are shown with the line number.
  3. Each resource is checked for required fields, deprecated apiVersions and selector/label mismatches.
  4. Best-practice checks flag missing resource limits, probes, :latest images and insecure settings.

What is checked

CheckExamples
StructureapiVersion, kind and metadata.name present; names valid DNS-1123 labels; containers have a name and image
Deprecated APIsextensions/v1beta1 Deployments and Ingresses, policy/v1beta1 PodDisruptionBudgets, batch/v1beta1 CronJobs and others removed in Kubernetes 1.16–1.25
WiringDeployment selector matches the pod template labels; Services select pods defined in the same file; Ingress backends point to existing Services and ports
ReliabilityCPU/memory requests and limits, readiness and liveness probes, more than one replica, unique container ports
Securityprivileged, 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.

Aussi recherché comme : k8s yaml validator, kubernetes manifest validator, kubernetes linter, kubeval online, validate kubernetes yaml, k8s lint.

Outils complémentaires : 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.
  • Générateur Docker Compose — Cochez les services dont vous avez besoin — application, base de données, cache, interface d'administration, gestionnaire de messagerie — et obtenez un fichier compose.yaml épuré comprenant des images épinglées, des volumes nommés, des contrôles d'intégrité et depends_on conditions, ainsi qu’un fichier .env correspondant contenant des mots de passe générés.
  • 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.

Questions fréquentes

Does it connect to my cluster?
No. The manifests are parsed and checked in your browser; nothing is sent to a server or a cluster.
Can I validate Helm charts?
Render the chart first with helm template ./chart and paste the output. Raw templates with {{ }} expressions are not valid YAML.
Why is a missing resource limit only a warning?
The manifest is still valid, but pods without requests and limits can starve other workloads or be evicted first under memory pressure. Most production clusters enforce them with policies.
Puis-je installer Kubernetes YAML Validator en tant qu’application web et l’utiliser hors ligne ?
Oui. Kubernetes YAML Validator est une application web installable (PWA) : elle s’installe depuis votre navigateur, sans passer par une boutique d’applications. Cliquez sur « Installer l’application » en haut de cette page dans Chrome ou Edge (Windows, macOS, Linux, ChromeOS) ; sur Android, utilisez « Partager » → « Ajouter à l’écran d’accueil » sur iPhone et iPad ; ou « Fichier » → « Ajouter au Dock » dans Safari 17+ sur Mac. L’application s’ouvre alors dans sa propre fenêtre avec sa propre icône, et comme elle s’exécute entièrement dans votre navigateur, elle continue de fonctionner hors ligne. Firefox sur ordinateur de bureau ne permet pas d’installer d’applications web. Comment fonctionne l’installation.

Outils similaires