Knative Tutorial
This tutorial shows how to use different components of Knative: Build, Eventing, and Serving.
Slides
There's a presentation that accompanies the tutorial. Each section (Build, Eventing, Serving) has its own section in the slides.
Pre-requisites
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 Knative Install on Google Kubernetes Engine page.
We built and tested on Google Kubernetes Engine (GKE) 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 --namespace knative-serving
kubectl get pods --namespace knative-build
kubectl get pods --namespace knative-eventing
kubectl get pods --namespace knative-sources
kubectl get pods --namespace knative-monitoring
Steps
- Knative Serving
- Knative Eventing
- Knative Build
This is not an official Google product.