Skip to content

arehmandev/kubehealth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kubernetes healthcheck util

This is a a quick tool for running kubernetes healthchecks against all pods in a namespace.

To build:

1. go get -u -v github.com/arehmandev/kubehealth
1. Ensure you have dep - https://github.com/golang/dep
2. cd $GOPATH/src/github.com/arehmandev/kubehealth && dep ensure
3. go build

To run:

1. Ensure your kubeconfig is set to the right context (pointing to correct cluster)
2. Usage: kubehealth namespace 'labelkey:labelvalue'
Info: Label args can be left blank. Accept a comma seperatedlist of 'key=value,key2=value'

Note - this runs faster than simply doing a kubectl get pods -o json and parsing through with jq.

About

Kubernetes healthcheck util for pods

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages