#338instrumenta/kubeval: 验证您的 Kubernetes 配置文件,支持多个不同版本的 Kubernetes

eryajferyajf2025/05/21



Repos instrumenta/kubeval
Views views
Stars stars
Forks forks
License license
UpdatedAt last-commit
CreatedAt create-at

Kubeval

NOTE: This project is no longer maintained, a good replacement is 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.

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.