简体   繁体   中英

Google Cloud Cluster Container

I have created a Google Cloud Cluster with 3 nodes. 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. The vm instances will not turn off, which is a bit frustrating as they charge hourly as the instances are online. Any help will be greatly appreciated, thank you.

Yes, Cloud Cluster will keep your cluster alive. Until you delete cluster.

To delete cluster use following command:

gcloud container clusters delete my-cluster-id

Where my-cluster-id is your cluster. To get id use 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)

要添加到Igor的一个很好的答案中,如果您想在不完全删除集群的情况下更改集群的大小,则可以运行gcloud container clusters resize NAME --size SIZE来更改集群,使其具有SIZE节点。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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