To create a new cluster with a minimum CPU platform using the gcloud command-line tool, set the --min-cpu-platform flag and specify the user-friendly name for the CPU platform:
gcloud container clusters create [CLUSTER_NAME] --zone [COMPUTE_ZONE] \ --min-cpu-platform [PLATFORM_NAME]
where:
-
[CLUSTER_NAME] is the name you choose for the cluster.
-
[COMPUTE_ZONE] is the cluster's compute zone.
-
[PLATFORM_NAME] is the desired CPU platform to run in the cluster.
For example, the following command creates a cluster named example-cluster with the Intel Broadwell platform:
gcloud container clusters create example-cluster --zone us-central1-a \ --min-cpu-platform “Intel Broadwell”