简体   繁体   English

Google Cloud Cluster容器

[英]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.

相关问题 无法在Google Cloud Compute引擎实例中获得访问者的公共IP(已创建容器集群) - Cannot get visitor's public IP in Google Cloud Compute engine instance (container cluster created) Google容器群中Pod的优先级 - Priorities of Pods in Google Container Cluster 有关在Google容器集群内使用的节点的困惑 - Confusion about nodes used inside a Google Container Cluster Google Cloud 中的 Google Compute Engine、App Engine 和 Container Engine 有什么区别? - What is the difference between Google Compute Engine, App Engine and Container Engine in Google Cloud? 无法将在 google 应用程序引擎中的 docker 容器中运行的 Spring Boot 应用程序连接到 google cloud sql? - Can't connect spring boot app running in docker container in google app engine to google cloud sql? 如何在Cloud SQL中授权我的短暂Google容器引擎实例? - How do I authorize my ephemeral Google Container Engine instances in Cloud SQL? 我可以从 Google Cloud Storage artifacts 存储桶中删除容器映像吗? - Can I delete container images from Google Cloud Storage artifacts bucket? 如何通过Google Cloud调试在Docker容器内运行的Nodejs应用程序 - How to debug Nodejs app running inside Docker container via Google Cloud 是否应该使用谷歌云应用引擎或计算引擎或容器引擎进行大型Drupal网站迁移? - Should one use google cloud app engine or compute engine or container engine for a large Drupal website migration? Google Cloud Bigtable 与 Google Cloud Datastore - Google Cloud Bigtable vs Google Cloud Datastore
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM