<p>In my Kubernetes cluster, I have 3 worker node and 1 master node. I have removed the taint on the master node so the k8s can schedule pods on that node.</p>
<p><a href="https://i.stack.imgur.com/Y1ICR.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Y1ICR.png" alt="enter image description here" /></a></p>
<p>Now, I want to change 2 of 3 workers to master and control-plane (can schedule pods on these nodes)node by using the following :</p>
<pre><code>kubectl label nodes node1 kubernetes.io/role=master
kubectl label nodes node1 kubernetes.io/role=control-plane
kubectl label nodes node2 kubernetes.io/role=master
kubectl label nodes node2 kubernetes.io/role=control-plane
kubectl taint node --all node-role.kubernetes.io/master:NoSchedule-
</code></pre>
<p>I wonder if those pods in node1(for example) would stop after I run <code>kubectl label nodes</code>?</p>

Erika
<p>Use the below command to schedule pods on the master nodes</p>
<pre><code>kubectl taint node &lt;master-node&gt; node-role.kubernetes.io/control-plane:NoSchedule-
</code></pre>
