简体   繁体   English

启用了 0 个节点和 Autopilot 的 GKE 集群

[英]GKE Cluster with 0 Node and Autopilot Enabled

I use GKE for years and I wanted to experiment with GKE with AutoPilot mode, and my initial expectation was, it starts with 0 worker nodes, and whenever I deploy a workload, it automatically scales the nodes based on requested memory and CPU.我使用 GKE 多年,我想在 AutoPilot 模式下试验 GKE,我最初的期望是,它从 0 个工作节点开始,每当我部署工作负载时,它都会根据请求的内存和 CPU 自动扩展节点。 However, I created a GKE Cluster, there is nothing related to nodes in UI, but in kubectl get nodes output I see there are 2 nodes.但是,我创建了一个 GKE 集群,在 UI 中没有与节点相关的任何内容,但是在kubectl get nodes输出中我看到有 2 个节点。 Do you have any idea how to start that cluster with no node initially?您知道如何在最初没有节点的情况下启动该集群吗?

在此处输入图片说明 在此处输入图片说明 在此处输入图片说明

The principle of GKE autopilot is NOT TO worry about the node, it's managed for you. GKE Autopilot 的原理是不用管节点,管你管。 No matter if there is 1, 2 or 10 node to your cluster, you don't pay for them, you pay only when a POD run in your cluster (CPU and Memory time usage).无论您的集群有 1、2 还是 10 个节点,您都无需为它们付费,您只需在集群中运行 POD 时付费(CPU 和内存时间使用情况)。

So, you can't handle the number of node, number of pools and low level management like that, something similar to serverless product (Google prefers saying "nodeless" cluster)因此,您无法像这样处理节点数量、池数量和低级别管理,类似于无服务器产品(Google 更喜欢说“无节点”集群)

At the opposite, it's great to already have resources provisioned that you don't pay on your cluster, you will deploy and scale quicker!相反,很高兴已经配置了无需为集群付费的资源,您将更快地部署和扩展!


EDIT 1编辑 1

You can have a look to the pricing .你可以看看定价 You have a flat fee of $74.40 per month ($0.10/hour) for the control plane.控制平面的固定费用为每月 74.40 美元(0.10 美元/小时)。 And then you pay your pods (CPU + Memory).然后你支付你的 pods(CPU + 内存)。

You have 1 free cluster per Billing account.每个 Billing 帐户有 1 个免费集群。

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

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