<p>When I was labeling my worker nodes I accidentally labeled my master node as a worker.</p>

<p><strong>kubectl label node node01 node-role.kubernetes.io/worker=worker</strong></p>

<p>now my cluster looks like this:</p>

<pre><code>NAME     STATUS   ROLES           AGE   VERSION
node01   Ready    master,worker   54m   v1.18.0
node02   Ready    worker          52m   v1.18.0
node03   Ready    worker          51m   v1.18.0
node04   Ready    worker          51m   v1.18.0
</code></pre>

<p>How do I remove worker from my Master node?</p>

mikev1963
<p><code>kubectl label node node01 node-role.kubernetes.io/worker-</code>. The <code>-</code> tells it to remove the label.</p>
