36

GitHub - instrumenta/kubeval: Validate your Kubernetes configuration files, supp...

 4 years ago
source link: https://github.com/instrumenta/kubeval
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

README.md

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.instrumenta.dev.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK