繁体   English   中英

是否可以在免费套餐中安装 Google Cloud Kube.netes 集群?

[英]Is it possible to have Google Cloud Kubernetes cluster in the free tier?

查看 Google Cloud 的免费套餐特征,它指出 -

  • VM 实例必须位于us-west1 之类的区域中
  • VM 机器类型必须是f1-micro

因此,为了将它们结合在一起,我创建了以下 shell 命令来创建 Kube.netes 集群 -

gcloud container clusters create free-cluster-1 -m f1-micro --region us-west1 

它尝试使用免费层机器类型在免费层区域中创建名为 free-cluster-1 的集群。

但是,我在运行该命令时收到此错误消息 -

ERROR: (gcloud.container.clusters.create) ResponseError: code=400, message=Node pools of f1-micro machines are not supported due to insufficient memory.

这是否意味着您根本无法在 Google Cloud 的免费层中创建 Kube.netes 集群? 还是有其他方法可以解决此限制?

不幸的是,您无法基于f1-micro共享核心机器类型创建 GKE 集群。

查看文档选择最小 CPU 平台部分限制

最小 CPU 平台不能与共享核心机器类型一起使用,例如g1-small

因此,由于f1-micro 共享核心机器类型的资源比g1-small更少,因此您应该预料到错误。

另外,看看错误信息:

ERROR: (gcloud.container.clusters.create) ResponseError: code=400, message=Node pools of f1-micro machines are not supported due to insufficient memory.

它明确指出“由于内存不足,不支持 f1-micro 机器”。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM