Manu Chadha
Manu Chadha

Reputation: 16727

Reduce boot disk size of a GKE cluster

Is it possible to change boot disk size of a GKE cluster? I created clusters with 50GB boot disk but I don't need this much. I can't find any option to reduce the boot disk size.

Upvotes: 1

Views: 2959

Answers (2)

Julio Colino
Julio Colino

Reputation: 68

Currently it is possible to change the image type of an existing cluster but not the disk size yet as I guess it would generate quite complex issues if you set a too small boot disk.

The way I achieved this is by creating a new node-pool, you can adjust the boot disk type and size while the creation and then moving your workloads to the new node-pool.

Upvotes: 1

guillaume blaquiere
guillaume blaquiere

Reputation: 75735

You can't change the boot disk of existing node pool. You can

  • Either create a new Node Pool with a smaller boot disk image size
  • Or delete your cluster and create a new one

Note: The pulled image are stored locally on each node, on the boot disk free space. If you have a lot of large images pulled on the same node, you can have issues with available space.

Upvotes: 4

Related Questions