Esta página ainda não foi traduzida para o português, por isso aparece em inglês.

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.

Atualizado em
Report

Seus dados nunca saem do seu computador. Todo o processamento acontece localmente no navegador.

Como usar: 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.

Também pesquisado como: k8s yaml validator, kubernetes manifest validator, kubernetes linter, kubeval online, validate kubernetes yaml, k8s lint.

Ferramentas que combinam com: 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.
  • Gerador do Docker Compose — Marque os serviços que você precisa — aplicativo, banco de dados, cache, interface de administração, captador de e-mails — e receba um arquivo `compose.yaml` limpo com imagens fixadas, volumes nomeados, verificações de integridade e depends_on condições, além de um arquivo .env correspondente com senhas geradas.
  • 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.

Perguntas frequentes

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.
Posso instalar o Kubernetes YAML Validator como um aplicativo da web e usá-lo offline?
Sim. O Kubernetes YAML Validator é um aplicativo da web instalável (PWA) — instalado a partir do seu navegador, não baixado de uma loja de aplicativos. Clique em “Instalar aplicativo” na parte superior desta página no Chrome ou no Edge (Windows, macOS, Linux, ChromeOS) ou, no Android, use “Compartilhar” → “Adicionar à tela inicial” no iPhone e no iPad, ou “Arquivo” → “Adicionar ao Dock” no Safari 17+ em um Mac. Em seguida, ela se abre em uma janela própria com seu próprio ícone e, como é executada inteiramente no seu navegador, continua funcionando offline. O Firefox no desktop não permite a instalação de aplicativos da web. Como funciona a instalação.

Ferramentas relacionadas