colebrooke / kubernetes-nagios

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

API checks for different clusters running in parallel potentially check same cluster #20

Open Timoses opened 2 years ago

Timoses commented 2 years ago

kubectl proxy in kubernetes_api_check.sh may fail due to an already bound port 8001.

In that case there may already be a check running which proxies to a completely different cluster. In effect we are then checking one cluster only rather than failing (or allowing parallel cluster checks).