...
1# Kubeval
2
3`kubeval` is a tool for validating a Kubernetes YAML or JSON configuration file.
4It does so using schemas generated from the Kubernetes OpenAPI specification, and
5therefore can validate schemas for multiple versions of Kubernetes.
6
7[](https://circleci.com/gh/instrumenta/kubeval)
8[](https://goreportcard.com/report/github.com/instrumenta/kubeval)
10[](https://godoc.org/github.com/instrumenta/kubeval)
11
12
13```
14$ kubeval my-invalid-rc.yaml
15WARN - fixtures/my-invalid-rc.yaml contains an invalid ReplicationController - spec.replicas: Invalid type. Expected: [integer,null], given: string
16$ echo $?
171
18```
19
20
21For full usage and installation instructions see [kubeval.com](https://kubeval.com/).
View as plain text