Comparing GKE and Cloud Run – when to use which
In the previous chapter, we compared different serverless products while trying to understand which one was the best choice, depending on our use case. Following a similar process to compare GKE and Cloud Run, we will start by taking a look at their summarized features:
- With GKE, we have complete control over every aspect of container orchestration, from networking to storage, and stateful use cases are supported
- Cloud Run can deploy containers to production with a single command, supports any programming language, and uses Docker images, but only for stateless apps
As a small spoiler for the next chapter, Cloud Run is offered not only as a managed service but also as Cloud Run for Anthos (https://cloud.google.com/anthos/run). In this second format, Cloud Run is compatible with custom machine types, has additional networking options, and we can use GPUs to enhance our services. And the best part is that we can...