This repository contain exercises for Knative, a platform for building event-driven serverless applications.
Knative runs on top of Kubernetes and these exercises assume access to a Kubernetes cluster with Knative deployed.
Since network access to clusters vary, exercises use the following environment variables to define how to access the cluster network. Adjust these as necessary for your cluster.
export KATAS_DOMAIN=example.com
export KATAS_PROTOCOL=https
export KATAS_NAMESPACE=default
Some of the exercises make use of the kn
and stern
tools. You can either
install these locally, or use the scripts in this repository for a
container-based solution:
alias kn=scripts/kn.sh
alias stern=scripts/stern.sh
- Blue/green and Canary Deployments
- Header-based Revision Routing
- Configuring and Optimizing Autoscaling
- 🚧 WIP: Using gRPC
- Source to Sink
- Custom Sources
- Channels and Subscriptions
- Brokers and Triggers
- Flows - Parallels and Branches
- Flows - Sequences
- Delivery Errors - Dead Letter Sinks
- Delivery Errors in Flows
- 🚧 WIP: Kafka Source and Source
- 🚧 WIP: Kafka Broker
- 🚧 WIP: Kafka Partitions, Cloudevent
partitionKey
and Scalability
- Third Party Sources
- Metrics with Prometheus and Grafana
- Event Tracing with Jaeger