colebrooke / kubernetes-nagios

Basic health checks for a Kubernetes cluster
MIT License
50 stars 44 forks source link

Should check that kubectl is in PATH #13

Closed stefanlasiewski closed 4 years ago

stefanlasiewski commented 4 years ago

We should prevent this error:

$ ./check_kube_nodes.sh
./check_kube_nodes.sh: line 48: kubectl: command not found
CRITICAL - unable to connect to Kubernetes via kubectl!