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.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access