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
Other Useful Business Software
Forever Free Full-Stack Observability | Grafana Cloud
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.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Kubeval!