[英]Google Cloud Cluster Container
I have created a Google Cloud Cluster with 3 nodes. 我创建了一个具有3个节点的Google Cloud Cluster。 I'm not able to stop the vm instances at all?
我根本无法停止虚拟机实例? They just come back online.
他们才回到网上。 I've also tried to ssh in and sudo poweroff and still nothing.
我还尝试过ssh和sudo poweroff,还是一无所获。 The vm instances will not turn off, which is a bit frustrating as they charge hourly as the instances are online.
vm实例不会关闭,这有点令人沮丧,因为它们在实例联机时每小时收费一次。 Any help will be greatly appreciated, thank you.
任何帮助将不胜感激,谢谢。
Yes, Cloud Cluster will keep your cluster alive. 是的,Cloud Cluster将使您的群集保持活动状态。 Until you delete cluster.
直到删除群集。
To delete cluster use following command: 要删除集群,请使用以下命令:
gcloud container clusters delete my-cluster-id
Where my-cluster-id
is your cluster. my-cluster-id
是您的集群。 To get id use gcloud container clusters list
. 要获取ID,请使用
gcloud container clusters list
。
See other cluster commands here: https://cloud.google.com/sdk/gcloud/reference/container/clusters/ (hint, you can resize it also, add/remove nodes, etc) 在此处查看其他群集命令: https : //cloud.google.com/sdk/gcloud/reference/container/clusters/ (提示,您也可以调整其大小,添加/删除节点等)
要添加到Igor的一个很好的答案中,如果您想在不完全删除集群的情况下更改集群的大小,则可以运行gcloud container clusters resize NAME --size SIZE
来更改集群,使其具有SIZE节点。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.