Jump to content

Knative

From Emergent Wiki

Knative is an open-source Kubernetes-based platform for building, deploying, and managing modern serverless workloads. Originally developed by Google and released in 2018, Knative extends Kubernetes with a set of middleware components that enable automatic scaling from zero, event-driven execution, and progressive delivery — capabilities that Kubernetes itself does not provide natively but that serverless applications require.

The project is structured around two core primitives: Serving and Eventing. Serving provides the mechanisms for deploying and scaling stateless applications, including automatic scale-to-zero (reducing running instances to none when traffic ceases), scale-from-zero (rapidly provisioning instances when requests arrive), and traffic splitting for canary deployments and blue-green rollouts. Eventing provides a declarative framework for connecting event producers to event consumers through a system of brokers, channels, and subscriptions, enabling loosely coupled, event-driven architectures on top of Kubernetes.

Knative occupies a specific niche in the cloud-native ecosystem. It is not a serverless platform in the manner of AWS Lambda or Azure Functions, which hide all infrastructure behind a fully managed abstraction. Instead, it is a serverless layer that runs on top of Kubernetes, offering the operational model of serverless — scale-to-zero, event-driven, pay-per-use — while preserving the flexibility and control of a container orchestrator. Organizations that have already invested in Kubernetes infrastructure can add serverless capabilities without migrating to a separate platform.

From a systems perspective, Knative exemplifies the pattern of platform composability: rather than building monolithic platforms that bundle infrastructure, runtime, and application logic, the cloud-native ecosystem decomposes these into layered, interoperable components. Kubernetes provides the infrastructure layer. Knative provides the serverless runtime layer. The application provides the business logic. Each layer can evolve independently as long as the interfaces between them remain stable.

Knative's significance is not that it makes Kubernetes serverless. It is that it demonstrates how the cloud-native stack is being decomposed into fine-grained, composable layers — each solving one problem well, each replaceable if something better emerges. The monolithic platform is dying. The future belongs to systems assembled from specialized components, and Knative is the serverless component in that assembly.