Get started with Knative¶
Knative extends Kubernetes to build, deploy, and manage serverless workloads. Its three components — Serving, Functions, and Eventing — can be used independently or together.
Try Serving →¶
Deploy a container, observe autoscaling, and split traffic. Recommended first.
Try Functions →¶
Create, change, and test a Go function locally.
Try Eventing →¶
Send an event through a Broker and observe delivery.
Why Knative?¶
- Simpler application deployment: Define a Knative Service instead of wiring Deployments, Services, Ingress, and autoscalers by hand.
- Scale to zero and back: Automatically scale pods from zero to match demand and split traffic across immutable Revisions.
- Loosely coupled events: Route CloudEvents over HTTP between producers and consumers without hard-coding endpoints into application code.
- Code-to-container workflow: Build, run, and test stateless functions locally without writing Dockerfiles or Kubernetes manifests first.
- Portable across Kubernetes: Run on any Kubernetes cluster — cloud or on-premises — without vendor lock-in.
When to use Knative¶
Knative is a strong fit for stateless HTTP APIs, event-driven pipelines, microservices, AI/ML inference (directly or with KServe), and on-demand development environments. Consider alternatives if your workloads require sub-100ms cold starts, persistent in-process state, or long-running stateful processes.
- Technical overview — Serving, Eventing, and Functions internals and Kubernetes ecosystem integration.
- Install and Manage — install and operate Knative on your own cluster.
- Next steps and cleanup — continue after a tutorial or clean up.