Skip to content
项目

关于

验证 Kubernetes 配置文件,支持多个 Kubernetes 版本。

系统与基础设施

这些数字如何统计

实测星标增长

24小时
-1
7天
-2
15天
-2
1个月
0

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

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.

探索相关项目

加载中…