https://github.com/instrumenta/kubeval
Validate your Kubernetes configuration files, supports multiple Kubernetes versions
https://github.com/instrumenta/kubeval
instrumenta kubernetes
Last synced: 6 days ago
JSON representation
Validate your Kubernetes configuration files, supports multiple Kubernetes versions
- Host: GitHub
- URL: https://github.com/instrumenta/kubeval
- Owner: instrumenta
- License: other
- Created: 2017-06-25T14:00:38.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2023-08-08T18:29:46.000Z (over 1 year ago)
- Last Synced: 2025-04-03T23:11:17.099Z (11 days ago)
- Topics: instrumenta, kubernetes
- Language: Go
- Homepage: https://kubeval.com
- Size: 406 KB
- Stars: 3,193
- Watchers: 27
- Forks: 226
- Open Issues: 102
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
- awesome-ops - instrumenta/kubeval - 06-25|2023-08-08 | 验证您的 Kubernetes 配置文件,支持多个不同版本的 Kubernetes | (K8S-Tools)
- awesome-ccamel - instrumenta/kubeval - Validate your Kubernetes configuration files, supports multiple Kubernetes versions (Go)
- awesome-repositories - instrumenta/kubeval - Validate your Kubernetes configuration files, supports multiple Kubernetes versions (Go)
- awesome-devsecops-russia - Kubeval
README
# Kubeval
**NOTE: This project is [no longer maintained](https://github.com/instrumenta/kubeval/issues/268#issuecomment-902128481), a good replacement is [kubeconform](https://github.com/yannh/kubeconform)**
`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.[](https://circleci.com/gh/instrumenta/kubeval)
[](https://goreportcard.com/report/github.com/instrumenta/kubeval)
[](https://godoc.org/github.com/instrumenta/kubeval)```
$ 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](https://kubeval.com/).