Skip to content
A step-by-step tutorial showing different parts of Knative (Build, Eventing, Serving)
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
build Added buildpacks sample May 15, 2019
eventing Updated the tutorial for Knative 0.5 Apr 15, 2019
serving Added a better autoscaling sample May 16, 2019
.gitignore Initial check-in Jan 23, 2019 Initial check-in Jan 23, 2019
LICENSE Initial check-in Jan 23, 2019 Added buildpacks sample May 15, 2019

Knative Tutorial

This tutorial shows how to use different components of Knative: Build, Eventing, and Serving.


There's a presentation that accompanies the tutorial. Each section (Build, Eventing, Serving) has its own section in the slides.

Serverless with Knative


We assume that you have a Kubernetes cluster with Knative (and its dependency Istio) installed already. If you need to install Istio and Knative, see Knative Installation page. For Google Kubernetes Engine specific instructions, see Install on Google Kubernetes Engine page.

We built and tested on Knative version 0.5 on Google Kubernetes Engine (GKE) with Istio but the samples should work on any Kubernetes cluster with Knative.

Before going through the tutorial, make sure all Knative components show a STATUS of Running:

    kubectl get pods -n knative-serving
    kubectl get pods -n knative-eventing
    kubectl get pods -n knative-build
    kubectl get pods -n knative-sources
    kubectl get pods -n knative-monitoring


This is not an official Google product.

You can’t perform that action at this time.