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
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
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