Skip to content

Validate your Kubernetes configuration files, supports multiple Kubernetes versions

License

Notifications You must be signed in to change notification settings

ian-howell/kubeval

 
 

Repository files navigation

Kubeval

kubeval is a tool for validating a Kubernetes YAML or JSON configuration file. It does so using schemas generated from the Kubernetes OpenAPI specification, and therefore can validate schemas for multiple versions of Kubernetes.

CircleCI Go Report Card GoDoc

$ kubeval my-invalid-rc.yaml
The document my-invalid-rc.yaml contains an invalid ReplicationController
--> spec.replicas: Invalid type. Expected: integer, given: string
$ echo $?
1

For full usage and installation instructions see kubeval.instrumenta.dev.

About

Validate your Kubernetes configuration files, supports multiple Kubernetes versions

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 81.0%
  • Shell 11.5%
  • Makefile 4.1%
  • PowerShell 2.8%
  • Dockerfile 0.6%