<p>Is it possible to resize a node pool disk size on GKE with Terraform without recreating (first delete, then create again with new settings) the cluster?</p>
<p>I want to automate the migration of the node pool with the workloads without recreating the cluster and without any downtime.</p>
<p><a href="https://i.stack.imgur.com/5waKo.jpg" rel="nofollow noreferrer">This is the output i got when i upscaled the cluster, it is kiling and recreating the whole node pool and i dont want that.</a></p>

clustermania
<p>You cant decrease the disk size but you can create a new disk with a smaller size and add them to the new nodes.</p>
<p>Reference:</p>
<blockquote>
<p>You can only increase, and not decrease, the size of a disk. To decrease the disk size, you must create a new disk with a smaller size. Until you delete the original, larger disk, you are charged for both disks.</p>
</blockquote>
<p><a href="https://cloud.google.com/compute/docs/disks/resize-persistent-disk" rel="nofollow noreferrer">https://cloud.google.com/compute/docs/disks/resize-persistent-disk</a></p>
<p>Edit:
If you want increase the disk, you can create a new node pool with the new config and later you must cordon &amp; drain (kubectl cordon &amp; drain) the all nodes of old node pool and with this you can delete it without downtime.</p>
