openskills.info
Knative logoCourse Preview

Knative

Knative adds serverless workload abstractions to Kubernetes. It runs stateless HTTP containers, routes events, manages immutable revisions, and can adjust serving capacity as demand changes.

itCloud native tools and technologies

Don't Panic — Knative

Knative is the layer you add after Kubernetes has already agreed to run containers, but before every application team has rebuilt its own collection of scaling rules, ingress settings, rollout machinery, and event plumbing. Kubernetes still does the foundational work. Knative puts a more application-shaped dashboard on top of it, which is less magical than it sounds and more useful than a pile of slightly different YAML files.

For HTTP work, remember the four names that look as if they arrived in a committee meeting: Service, Configuration, Revision, and Route. The Service owns the workload. The Configuration says what it should be. A Revision is the immutable snapshot created when that declaration changes. The Route decides which Revision receives traffic. That separation is why a new image does not have to receive all requests immediately.

The surprising bit is that scale to zero is not a free lunch with a tiny umbrella in it. Idle services can use no serving replicas, but the next request may wait while a pod is scheduled and becomes ready. The Activator can hold that request during startup. It cannot make slow initialization, missing cluster capacity, or a strict latency objective politely disappear.

Eventing follows the same preference for named boundaries. A producer sends a CloudEvent to a Broker. A Trigger filters it and sends a match to a subscriber. Producers do not need a list of consumers, which is pleasant right up until delivery fails. Retries and dead-letter sinks are platform controls; duplicate-safe business effects remain an application responsibility. The machinery is helpful. It does not become legally responsible for arithmetic.

Functions is a developer workflow, not a secret fourth runtime. It turns function source into an OCI image and deploys it as a Knative Service, so it inherits Serving behavior such as Revisions, Routes, and request-driven scaling. Stateful data still belongs outside the instance that may be scaled down or replaced.

Read the intro when you need the full platform map and its operational boundaries. Use the slides for the request and event flows. Keep the cheatsheet beside you when Service, Route, Broker, Channel, and Trigger begin to look like a word-association test. Then use the practice reference and exercise to create a Service, make a change, and see the second Revision appear. That is the small, respectable proof that the mental model has stopped being decorative.

Where this skill leads

Relevant careers

See how this topic contributes to broader role-level skill maps.

Sources