Skip to main content

Kubernetes Manifest Validator

Paste your K8s YAML manifest to check for missing required fields, security misconfigurations, and best practice violations. Supports multi-document YAML separated by ---.

✓ Required field checks ✓ Security misconfiguration detection ✓ Best practice warnings ✓ Multi-document YAML support ✓ 100% runs in your browser
YAML Input

Frequently Asked Questions

What is a Kubernetes manifest?▼

A Kubernetes manifest is a YAML (or JSON) file that describes the desired state of a Kubernetes resource — such as a Deployment, Service, ConfigMap, or Pod. kubectl apply -f manifest.yaml submits it to the API server, which reconciles the cluster to match that desired state.

What fields are required in every Kubernetes resource?▼

Every Kubernetes resource requires four top-level fields: apiVersion (e.g. apps/v1), kind (e.g. Deployment), metadata (which must contain at least name), and usually spec. Missing any of these will cause kubectl apply to reject the manifest.

Why should containers always have resource limits?▼

Without resource limits (resources.limits.cpu and resources.limits.memory), a single misbehaving pod can consume all node resources and evict other workloads. The scheduler also cannot make accurate placement decisions. Setting both requests (soft minimum) and limits (hard cap) is a Kubernetes best practice required for QoS guarantees.

Why is using the :latest image tag bad practice?▼

The :latest tag is mutable — it can point to a different image each time it's pulled, making deployments non-reproducible. In production, always pin to an immutable digest or a specific semantic version tag (e.g. nginx:1.25.3) to ensure consistent rollouts and easy rollbacks.

What are liveness and readiness probes?▼

A readiness probe tells Kubernetes when a container is ready to accept traffic — failing pods are removed from Service endpoints. A liveness probe tells Kubernetes when a container is unhealthy and should be restarted. Without probes, traffic can reach containers that aren't ready, and stuck containers won't be automatically recovered.

Can I validate multiple resources in one file?▼

Yes. Kubernetes manifests support multiple resources separated by --- (YAML document separator). This validator handles multi-document YAML, validating each resource independently and showing results grouped by document.

Share this tool: X / Twitter LinkedIn
✓ 60,000+ developers use DevPlaybook ★★★★★ 4.8 / 5 on Gumroad ✓ MIT licensed · Instant download ✓ No login required

Related Products

on Gumroad

You Might Also Need

More Free Tools

Enjoying this tool? Get more like it.

Weekly developer tool guides, productivity playbooks & AI tricks. Free. No spam.

DevPlaybook Pro 7 days free

Unlock AI-Powered Dev Tools

  • ⚡ AI Code Review, Doc Generator & SQL Builder
  • ⚡ All premium templates & early access
  • ⚡ Member discounts on Gumroad products
Start Free Trial →

$9/mo after trial · Cancel anytime

Want the full toolkit?

Get DevPlaybook Pro

Every template, guide, boilerplate, and automation script in one bundle. 13 premium products — grab them all at once and save big.

$79
$241 separately Save $162 (67% off)
Get DevPlaybook Pro — $79 →

MIT licensed · Instant download · No subscription

See what's included → Browse all deals →