<p>I need to create a shell-script which examine the cluster
Status.**</p>

<p>I saw that the <code>kubectl describe-nodes</code> provides lots of data
I can output it to json and then parse it but maybe it’s just overkill.
Is there a simple way to with <code>kubectl</code> command to get the status of the cluster ? just if its up / down</p>

<p>The least expensive way to check if you can reach the API server is <code>kubectl version</code>. In addition <code>kubectl cluster-info</code> gives you some more info.</p>
