3 ms·
Why would you use GKE Autopilot over Cloud Run?
by spankalee 3y ago
Why would you use GKE Autopilot over Cloud Run?
- benpacker 3y agoMy understanding is that Cloud Run is not suitable for stateful workloads (databases, etc.)
- antonvs 3y agoCloud Run is great if you just need to deploy a few services and expose their endpoints, and don't have a particularly complex backend service architecture. But with more complex architectures, you'll end up implementing a sort of GKE-like layer over Cloud Run, at which point GKE would probably make more sense. GKE lets you shell into containers, run all different kinds of workloads (e.g. no need for a separate "Cloud Tasks" system), supports stateful workloads, provides a standardized language for defining and deploying resources of all kinds (the k8s resource definition language), and as such integrates with standard gitops deployment systems such as ArgoCD.