hawk-eye
🔨 A Kubernetes Cluster diagnostor, scans your Kubernetes clusters and reports potential issues.
Feature
Setup development
# Linux
# create $HOME/.kube/config file
# Windows
# create $USERPROFILE/.kube/config file
# go version 1.13+
export GO111MODULE=on
# Download dependencies, remove unused dependencies
go mod tidy
# Fix clinet-go unsupport go.mod
# go get k8s.io/client-go@kubernetes-1.15.0
# Fix github.com/ugorji/go import issue
# go get -u github.com/ugorji/go/codec@latest
# Run in develop mode
go run ./main.go
Build
Build the binary file yourself.
make
# Show help infomation
make help
Or you can download the binary file: hectl
in Linux.
TODO
- get kubeconfig client-certificate, client-key, certificate-authority as etcd tls config.
- check kubeconfig cert, etcd cert
- docker registry scanner
- vault scanner
- all resources, more cases
- codes template