4be81f8fca
* Displays json if flag is provided, else display human readable string. |
||
---|---|---|
checks | ||
cmd/clusterlint | ||
kube | ||
vendor | ||
README.md | ||
go.mod | ||
go.sum |
README.md
Clusterlint
Linter to check k8s API objects from a live cluster.
Background
The idea for this tool was conceived to address some of the issues users face during upgrade of the cluster to a new kubernetes version. This also documents some of the recommended practices to follow while writing the object configs.
Install
go install ./cmd/clusterlint
The above command creates the clusterlint
binary in $GOPATH/bin
Usage
clusterlint list [options] // list all checks available to the user
clusterlint run [options] // run all or specific checks