<p>I have four nodes</p>
<p><code>kubectl get nodes</code></p>
<pre><code>NAME            STATUS     AGE
adm-1   Ready      42s
adm-2   Ready      42s
adm-3   Ready      42s
</code></pre>
<p>So I want to stop these nodes temporarily, then restart them again</p>
<p>Note-This is not a GKE cluster</p>

<hr />
<p>A node can also be marked as unschedulable and drained manually. Without going into specifics, this is done with the following <code>kubectl</code> commands.</p>
<p><code>kubectl cordon &lt;node&gt;</code> # marks the node as unschedulable (but doesn’t do anything with pods running on that node).</p>
<p><code>kubectl drain &lt;node&gt;</code> # marks the node as unschedulable and then evicts all the pods from the node.</p>
<p>So try <code>drain</code> options in your case.</p>
<p><strong>Note:</strong> In both cases, no new pods are scheduled to the node until you <code>uncordon</code> it again with <code>kubectl uncordon &lt;node&gt;</code>.</p>
