...

Text file src/github.com/instrumenta/kubeval/README.md

Documentation: github.com/instrumenta/kubeval

     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[![CircleCI](https://circleci.com/gh/instrumenta/kubeval.svg?style=svg)](https://circleci.com/gh/instrumenta/kubeval)
     8[![Go Report
     9Card](https://goreportcard.com/badge/github.com/instrumenta/kubeval)](https://goreportcard.com/report/github.com/instrumenta/kubeval)
    10[![GoDoc](https://godoc.org/github.com/instrumenta/kubeval?status.svg)](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