<p>I've deployed my application on GCP Kubernetes and at times, I need to delete a node from one of the node pools.</p>
<p>Once I run <code>kubectl delete node &lt;node-id&gt;</code>, it takes about half an hour to an hour for a new node to come up in its place even if they're gracefully stopped and then deleted, which is a lot. The auto-scaling is set at 1-3.</p>
<p>How do I make the node spawning process faster?</p>
<p>Any leads are appreciated!</p>
<pre><code>Node version: 1.22.10-gke.600

Size: Number of nodes: 0

Autoscaling: On (1-5 nodes)
CPU target limit: 40%

Node zones: us-east1-b
</code></pre>

SagarM
<p>It usually takes 1-2 minutes for the node to re spawn (when the condition matches). But when you are deleting the node there might be no need for the new node.</p>
<p>If you want to spawn it faster either you try to increase the traffic/load or you can decrease the CPU target limit in the HPA (let's say 50% or less).</p>
<p>For more you can check this <a href="https://stackoverflow.com/a/73421206/7297668">answer</a></p>
