Cloud Run functions vs Knative
Cloud Run functions
cloud.google.comKnative
knative.devSide by side
| Figure | Cloud Run functions | Knative |
|---|---|---|
| Price from | $0.40/mo | Free |
| Free plan | — | Yes |
| Free trial | Yes | — |
| Open source | — | — |
| Web | Yes | — |
| Windows | — | Yes |
| macOS | — | Yes |
| Linux | — | Yes |
| API | Yes | Yes |
| Self-hosted | Yes | Yes |
| Plans published | 2 | 1 |
| Spec score · Serverless Platforms | 8.2 (#5) | 8.0 (#7) |
| Integrations | Cloud Run functions integrates with Google Cloud and third-party services through events and webhook integrations. | Installation documentation lists networking integrations including Istio, Contour, and Gateway API, and messaging integrations including Kafka, RabbitMQ, and NATS. |
| Purpose | Cloud Run functions is a lightweight compute solution for creating single-purpose, stand-alone functions that respond to Cloud events without managing a server or runtime environment. | Knative provides Kubernetes middleware for building, deploying, and managing serverless workloads. |
Plans
Cloud Run functions
- Usage beyond free invocations$0.40 a month
- Free tierPrice not published
In their own words
Cloud Run functions
Cloud Run functions has no write-up on Specifiction yet; its figures are above.
Knative
Knative is open-source Kubernetes middleware for building, deploying, and managing serverless workloads. Knative Serving handles stateless HTTP services, including deployment, routing, and automatic scaling. Services can scale from zero when idle and rise again with incoming traffic. Serving also supports blue-green deployments, canary releases, and traffic splitting between revisions. Knative Eventing routes asynchronous events through CloudEvents over HTTP. Knative Functions provides a framework for packaging stateless functions as containers. Installation can use a local quickstart or a production setup on an existing Kubernetes cluster with YAML or the Knative Operator. The project runs on Kubernetes across cloud providers and on-premises environments, with Linux, macOS, and Windows listed for installation. Integrations include Istio, Contour, Gateway API, Kafka, RabbitMQ, and NATS. The open-source plan is free, with self-managed Kubernetes deployment.