hawk-eye

command module
v0.0.0-...-127562d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 11, 2020 License: MIT Imports: 1 Imported by: 0

README

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

  1. get kubeconfig client-certificate, client-key, certificate-authority as etcd tls config.
  2. check kubeconfig cert, etcd cert
  3. docker registry scanner
  4. vault scanner
  5. all resources, more cases
  6. codes template

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL