<p>When I use the command kubectl get nodes. I got list of nodes with ROLES . Are there any way I can find out which nodes are masters?</p>

<p>Use this command for this purpose.</p>
<pre><code>kubectl get node --selector='node-role.kubernetes.io/master'
</code></pre>
