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.
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 tested the tutorial on Knative version 0.7 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
Knative Serving:
- Hello World Serving
- Configure domain
- Change configuration
- Traffic splitting
- Configure autoscaling
- Integrate with Twilio
- Deploy to Cloud Run
- Serverless gRPC with Knative
Knative Eventing:
Knative Build:
This is not an official Google product.