How do I configure my GKE cluster to use a SSD boot disk instead of the default one?

0 votes
How to specify a GKE cluster to use SSD boot disk instead of the standard?
Oct 30 in GCP by anonymous
• 4,320 points
12 views

1 answer to this question.

0 votes

You can specify the boot disk type, standard or SSD, when you create a new cluster or node pool.

You cannot change the boot disk type of an existing cluster or node pool.

To create a cluster with a custom boot disk, run the following command.

[DISK-TYPE] can be either:

  • pd-standard, a standard persistent disk (the default)

  • pd-ssd, an SSD persistent disk

gcloud container clusters create [CLUSTER_NAME] --disk-type [DISK_TYPE]

To create a node pool in an existing cluster:

gcloud container node-pools create [POOL_NAME] --disk-type [DISK_TYPE]

For example, the following command creates a cluster, example-cluster, with the SSD persistent disk type, pd-ssd:

gcloud container clusters create example-cluster --disk-type pd-ssd
answered Oct 30 by Sirajul
• 38,820 points
What's the advantage of using a SSD boot disk instead of the standard ones?

Related Questions In GCP

0 votes
1 answer
0 votes
1 answer

How do i enable the OS Login of my existing Linux VM?

Set enable-oslogin in metadata of an existing instance: Go to ...READ MORE

answered Sep 26 in GCP by Sirajul
• 38,820 points
39 views
0 votes
1 answer

Can I create a load balancer with path based routing in GKE?

Yes, it's possible. Note that you simply will use the internal Load balancing (ILB) for ...READ MORE

answered Oct 10 in GCP by Sirajul
• 38,820 points
33 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

How do I change the default storage class of a bucket?

Use the gsutil defstorageclass set command: gsutil defstorageclass set [STORAGE_CLASS] ...READ MORE

answered Oct 25 in GCP by Sirajul
• 38,820 points
18 views