instrumenta / kubeval

Validate your Kubernetes configuration files, supports multiple Kubernetes versions

Home Page:https://kubeval.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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
WARN - fixtures/my-invalid-rc.yaml contains an invalid ReplicationController - spec.replicas: Invalid type. Expected: [integer,null], given: string
$ echo $?
1

For full usage and installation instructions see kubeval.com.

About

Validate your Kubernetes configuration files, supports multiple Kubernetes versions

https://kubeval.com

License:Other


Languages

Language:Go 83.4%Language:Shell 10.9%Language:Makefile 3.1%Language:PowerShell 2.1%Language:Dockerfile 0.5%