Kubeval is used to validate one or more Kubernetes configuration files and is often used locally as part of a development workflow as well as in CI pipelines. The Kubernetes API allows for specifying properties on objects that are not part of the schemas. However, kubectl will throw an error if you use it with such files. Kubeval can be used to simulate this behavior using the --strict flag. Alternatively, Kubeval can also take input via stdin which can make using it as part of an automated pipeline easier by removing the need to securely manage temporary files.

Features

  • Kubeval is a tool for validating a Kubernetes YAML or JSON configuration file
  • Documentation available
  • It does so using schemas generated from the Kubernetes OpenAPI specification, and therefore can validate schemas for multiple versions of Kubernetes
  • Currently kubeval relies on schemas generated from the Kubernetes API
  • You can pass one or more files as arguments, including using wildcard expansion
  • You can toggle between the upstream Kubernetes definitions and the expanded OpenShift ones using the --openshift flag

Project Samples

Project Activity

See All Activity >

License

Apache License V2.0

Follow Kubeval

Kubeval Web Site

Other Useful Business Software
Forever Free Full-Stack Observability | Grafana Cloud Icon
Forever Free Full-Stack Observability | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Kubeval!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Go

Related Categories

Go Container Management Software

Registered

2024-03-08