Knative is a Kubernetes-based platform for building, deploying, and managing modern serverless workloads. It drives with these primary features:
Serving | Scale to zero, request-driven compute model |
Events | Universal subscription, delivery and management of events |
In older versions of Knative there was another feature called Building. That evolved and split out into its own project called Tekton. Tekton pipelines are a cloud native and Kubernetes native technique for running CI/CD pipelines on Kubernetes. Tekton pipelines (building) are an important part of the serverless experience that coordinated with Knative.
Each of the components under the Knative project attempt to identify common patterns and codify the best practices that are shared by successful real-world Kubernetes-based frameworks and applications. Knative components focus on solving many mundane but difficult tasks such as:
- Deploying a container
- Orchestrating source-to-URL workflows on Kubernetes
- Routing and managing traffic with blue/green deployment
- Automatic scaling and sizing workloads based on demand
- Binding running services to eventing ecosystems
- Developers on Knative can use familiar idioms, languages, and frameworks to deploy any workload: functions, applications, or containers.
These instructions have been adapted from Getting Started with Knative App Deployment .
There are a set of helpful solutions that allow serverless functions to run:
In this lab, you will learn how to:
☐ Install Knative Kubernetes
☐ Install Istio as a network layer for Knative
☐ Install and invoke functions on Knative
More about the Knative and Istio architecture is described in the documentation .
Beginner
20 minutes
31 Dec, 2021