A best practices checker for Kubernetes clusters. 🤠
 
 
 
 
Go to file
Varsha Varadarajan 8bacdc73a0 Change desc assertion in all tests, rename variables to conform to convention 2019-06-26 09:25:07 -04:00
checks Change desc assertion in all tests, rename variables to conform to convention 2019-06-26 09:25:07 -04:00
cmd/clusterlint Add level flag to filter output based on severity: error, warning, or suggestion 2019-06-25 14:19:41 -04:00
kube Use owner references to indicate the objects that refer to the problematic object. 2019-06-25 14:19:20 -04:00
vendor Fully qualified image: Check if container uses fully qualified image names 2019-06-20 10:17:56 -04:00
README.md Update README.md 2019-06-24 09:51:09 -04:00
checks.md Update checks.md to include hostpath volume check. 2019-06-26 09:04:41 -04:00
go.mod Fully qualified image: Check if container uses fully qualified image names 2019-06-20 10:17:56 -04:00
go.sum Fully qualified image: Check if container uses fully qualified image names 2019-06-20 10:17:56 -04:00

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