Chapter 10. Cloud Run and Knative Serving
Cloud Run is API compatible with the open source project Knative Serving. That means that you are able to take a service from Cloud Run to Knative Serving without much (or with zero) effort.
In this chapter, I’ll show you how. I’ll walk you through installing Knative Serving on your local machine and show you how to deploy a container to both Cloud Run and your local Knative Serving using the exact same service definition.
Knative Serving is installed on top of Kubernetes, the open source container orchestrator. I’ll explain the architecture of Kubernetes so you can build a mental model of how it works and understand how Knative Service works under the hood.
As an independent open source project, Knative Serving might start to include features that are not available on Cloud Run. However, I think it’s likely that Cloud Run will always support a subset of features of Knative Serving, if not all of them.
Get Building Serverless Applications with Google Cloud Run now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.