'Best way to run volatile containers on Google Cloud
I have scripts that collect data all the time on Google Cloud VMs, but there are times when I have more or less data to collect, so I need to volatile and automatically allocate CPU and memory so I don't spend so much money. Searching I saw that the best way is to create container and orchestrate them correctly, google offers Kubernetes, Cloud Run or Google Compute Engine, which is the simplest and best for this problem? Or if there is another platform that solves it better, which one?
Ps. I'm new in Cloud Computing, sorry if I made a mistake or said something that doesn't exist.
Solution 1:[1]
Definitely forget about GCE ( compute engine ),
It remains GKE or Cloud run, you have to choose depending on your needs, here is the best article I be found:
However2 if you choose to use k8s, you can manage resources within the deployments tank manifests in the "resources" section. The request would be the minimum allocated resources to your deployment and the limits will be the maximum resources the deployment can use. You may play with this maybe.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | bguess |