A Kubernetes-based platform to build, deploy, and manage modern serverless workloads

Knative

A Kubernetes-based platform to build, deploy, and manage modern serverless workloads
Knative

Knative is a Kubernetes-based platform for building, deploying, and managing modern serverless workloads. It drives with these primary features:

ServingScale to zero, request-driven compute model
EventsUniversal 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:

  • Istio is a service mesh for Kubernetes
  • Kubernetes is the container management system that targets a variety of cloud and data center resources, an operating system for your data center.

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 .

  • LEVEL

    Beginner

  • DURATION

    20 minutes

  • UPDATED

    31 Dec, 2021