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
Categories
Container ManagementLicense
Apache License V2.0Follow Kubeval
You Might Also Like
Boost application security and continuity with SKUDONET ADC, our Open Source Load Balancer, that maximizes IT infrastructure flexibility. Additionally, save up to $470 K per incident with AI and SKUDONET solutions, further enhancing your organization’s risk management and cost-efficiency strategies.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Kubeval!