Increasing the cluster size in Google Container Engine

北慕城南 提交于 2019-12-08 07:17:18

问题


How do I add VM instances to my existing Container Engine cluster?

I understand that I can add pods via replication controllers, but it seems there can be multiple pods per VM instance. Adding 50 new pods to my initial 3 VM cluster just distributed those pods evenly and did not start new instances. Not really helpful if I want to scale my app due to increased load.


回答1:


For now, there isn't a way to scale your cluster. We are working on integrating Container Engine with the recently announced Managed Instance Groups and Cloud AutoScaling Service.

Stay tuned!




回答2:


Resizing a cluster is now possible, see the docs




回答3:


This may help you

https://cloud.google.com/container-engine/docs/resize-cluster

$ gcloud container clusters describe CLUSTER_NAME --format yaml | grep -A 1 instanceGroupUrls

$ gcloud compute instance-groups managed resize gke-example-b937f2ba-group --zone us-central1-f --size 4



来源:https://stackoverflow.com/questions/26899733/increasing-the-cluster-size-in-google-container-engine

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!