Kubeval

Validate your Kubernetes configuration files.

Visit Website →

Overview

Kubeval is a command-line tool for validating Kubernetes configuration files. It works by downloading the official OpenAPI specifications for a given Kubernetes version and checking whether your YAML or JSON manifests are valid according to that schema. This helps catch syntax errors, deprecated fields, and incorrect value types before applying the configuration to a cluster.

✨ Key Features

  • Validates against official Kubernetes OpenAPI schemas
  • Supports multiple Kubernetes versions
  • Can validate local files or standard input
  • Works offline once schemas are downloaded
  • Simple and fast

🎯 Key Differentiators

  • One of the original and most well-known schema validation tools.
  • Simple, single-purpose tool that is easy to use.

Unique Value: A simple, fast, and reliable way to validate that your Kubernetes configuration files are syntactically correct and conform to the API schema.

🎯 Use Cases (4)

Basic validation of Kubernetes YAML files Checking for syntax errors and schema compliance Ensuring compatibility with a specific Kubernetes version Linting Kubernetes manifests in CI/CD

✅ Best For

  • Running `kubeval my-deployment.yaml` in a CI pipeline to ensure the file is a valid Kubernetes object for a target cluster version.

💡 Check With Vendor

Verify these considerations match your specific requirements:

  • Checking for security misconfigurations or best practice violations (Kubeval only checks schema validity)
  • Enforcing custom policies

🏆 Alternatives

Kubeconform kubectl --dry-run

Unlike `kubectl --dry-run`, Kubeval does not require access to a live Kubernetes cluster. It is more focused on schema validation than tools like Kube-score, which check for best practices.

💻 Platforms

Desktop

✅ Offline Mode Available

🔌 Integrations

GitHub Actions GitLab CI Jenkins CircleCI

💰 Pricing

Contact for pricing
Free Tier Available

Free tier: Kubeval is completely free and open-source.

Visit Kubeval Website →