/knative-tutorial

A collection of samples for Knative Serving, Knative Eventing and Knative-GCP projects.

Primary LanguageC#Apache License 2.0Apache-2.0

Knative Tutorial

This tutorial shows how to use different parts of Knative.

Slides

There's a presentation that accompanies the tutorial.

Serverless with Knative

Setup

You need to install Knative and its dependencies (eg. Istio). See Knative Installation page for official instructions your platform.

Alternatively, there are scripts in setup folder to install Knative, Istio on Google Kubernetes Engine (GKE). You can follow the instructions there.

We tested this tutorial on:

  • GKE: 1.21.5-gke.1300
  • Istio: 1.10.5
  • Knative Serving: 1.0.0
  • Knative Eventing: 1.0.0
  • Knative-GCP: 0.23.0
  • Tekton: 0.22.0

If everything worked, all Knative components should show a STATUS of Running:

kubectl get pods -n knative-serving
kubectl get pods -n knative-eventing
kubectl get pods -n cloud-run-events
kubectl get pods -n tekton-pipelines

Samples

Knative Serving

Knative Eventing

Knative Eventing with Google Cloud

Build


This is not an official Google product.