A best practices checker for Kubernetes clusters. 🤠
 
 
 
 
Go to file
Adam Wolfe Gordon 07a63a4a12 Add basic CI checks using GH actions 2019-06-27 16:47:19 -06:00
.github Add basic CI checks using GH actions 2019-06-27 16:47:19 -06:00
checks Use long names for k8s object constants 2019-06-27 08:07:35 -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 Unused PV: Check if there are unused persistent volumes in the cluster. 2019-06-26 14:40:25 -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