Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
384 views
in Technique[技术] by (71.8m points)

google cloud platform - Increasing the memory of a single node in GCP Composer

I have a GCP Composer instance running with 3 nodes (which is the minimum possible). The nodes of this instance have 4GB of memory. However, I have a job that requires 8GB of memory. Is it possible to adjust the memory of just a single node? I don't want to upgrade my whole Composer instance to 8GB, because that would dramatically increase the cost.

question from:https://stackoverflow.com/questions/65886555/increasing-the-memory-of-a-single-node-in-gcp-composer

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

Thought it is not recommanded, you can upgrade the machine type used by your Cloud Composer cluster by removing and create again de default-pool.

There's an official documentation on how to to this.

It might not show in the Composer UI or in the Composer settings returned by CLI.

Also, you can as suggested in parakeet's comment use a KubernetesPodOperator or GKEPodOperator in order to properly dimension the node pool used to instanciate the pod.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...