<p>I know that i can use <code>kubectl get componentstatus</code> 
command to check the health status of the k8 cluster but  some how the output i am receiving do not show the health. Below is the output from master server.</p>

<p><a href="https://i.stack.imgur.com/7Td5F.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/7Td5F.png" alt="enter image description here"></a></p>

<p>I  can do deployments, can create pods and services which means everything is working fine but not sure how to check the health status.</p>

thinkingmonster
<p><strong>Solved</strong> in kube-apiserver v1.17.0, also you should use command below in your older apiserver.</p>
<pre><code>kubectl get cs -o=go-template='{{printf &quot;NAME\t\t\tHEALTH_STATUS\tMESSAGE\t\n&quot;}}{{range .items}}{{$name := .metadata.name}}{{range .conditions}}{{printf &quot;%-24s%-16s%-20s\n&quot; $name .status .message}}{{end}}{{end}}'
</code></pre>
<p>enjoy</p>
