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