<p>I have kubernetes cluster and every thing work fine. after some times I drain my worker node and reset it and join it again to master but</p>

<pre><code>#kubectl get nodes
NAME      STATUS                     ROLES    AGE    VERSION
ubuntu    Ready                      master   159m   v1.14.0
ubuntu1   Ready,SchedulingDisabled   &lt;none&gt;   125m   v1.14.0
ubuntu2   Ready,SchedulingDisabled   &lt;none&gt;   96m    v1.14.0
</code></pre>

<p>what should i do?</p>

<p>To prevent a node from scheduling new pods use:</p>

<pre><code>kubectl cordon &lt;node-name&gt;
</code></pre>

<p>Which will cause the node to be in the status: <code>Ready,SchedulingDisabled</code>.</p>

<p>To tell is to resume scheduling use:</p>

<pre><code>kubectl uncordon &lt;node-name&gt;
</code></pre>

<p>More information about draining a node can be found <a href="https://kubernetes.io/docs/tasks/administer-cluster/safely-drain-node/" rel="noreferrer">here</a>. And manual node administration <a href="https://kubernetes.io/docs/concepts/architecture/nodes/#manual-node-administration" rel="noreferrer">here</a></p>
