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
$300 Free Credits for Your Google Cloud Projects Icon
$300 Free Credits for Your Google Cloud Projects

Start building on Google Cloud with $300 in free credits. No commitment, no credit card required until you're ready to scale.

Launch your next project with $300 in free Google Cloud credits—no strings attached. Test, build, and deploy without risk. Use your credits across the entire Google Cloud platform to find what works best for your needs. After your credits are used, continue with always-free tier services. Only pay when you're ready to scale. Sign up in minutes and start exploring.
Start Free Trial
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