创建机器类型 n1-standard-1 的集群时出现问题?

Issue in creating cluster the machine type n1-standard-1?

您好,我正在使用 Kubernetes Engine 实验室管理部署。所以我在创建一个有五个 n1-standard-1 的集群时遇到了问题。我正在 运行 执行相同的命令,但我不知道为什么我没有得到相同的结果。当我 运行 这个命令时,我得到了另一种机器类型。因此不会创建相同的集群。

gcloud container clusters create bootcamp --num-nodes 5 --scopes "https://www.googleapis.com/auth/projecthosting,storage-rw"

在 运行ning 之后创建了此命令集群,其机器类型为 e2-medium,但实验室需要 n1-standard-1 机器类型。 唯一的区别是机器类型。我已经试过了,但没有得到正确的答案。

您可以在创建集群时指定machine type

添加命令行选项:--machine-type=n1-standard-1

gcloud container clusters create bootcamp --machine-type=n1-standard-1 --num-nodes 5 --scopes "https://www.googleapis.com/auth/projecthosting,storage-rw"