Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/meteatamel/knative-tutorial

A collection of samples for Knative Serving, Knative Eventing and Knative-GCP projects.
https://github.com/meteatamel/knative-tutorial

google-cloud knative knative-tutorial

Last synced: 2 days ago
JSON representation

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

Awesome Lists containing this project

README

        

# Knative Tutorial

This tutorial shows how to use different parts of [Knative](https://www.knative.dev/docs/).

## Slides

There's a [presentation](https://speakerdeck.com/meteatamel/serverless-with-knative) that accompanies the tutorial.


Serverless with Knative

## Setup

You need to install Knative and its dependencies (eg. Istio). See [Knative Installation](https://www.knative.dev/docs/install/) page for official instructions your platform.

Alternatively, there are scripts in [setup](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`:

```sh
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

* [Hello World Serving](docs/helloworldserving.md)
* [Change configuration](docs/changeconfig.md)
* [Traffic splitting](docs/trafficsplitting.md)
* [Configure autoscaling](docs/configureautoscaling.md)
* [Deploy to Cloud Run](docs/deploycloudrun.md)
* [gRPC with Knative](docs/grpc.md)
* [Cluster local services](docs/clusterlocal.md)
* [Integrate with Twilio](docs/twiliointegration.md)

Knative Eventing

* [Hello World Eventing](docs/helloworldeventing.md)
* [Simple Delivery](docs/simpledelivery.md)
* [Complex Delivery](docs/complexdelivery.md)
* [Complex Delivery with reply](docs/complexdeliverywithreply.md)
* [Broker and Trigger Delivery](docs/brokertrigger.md)
* [Scheduled service](docs/scheduledeventing.md)
* [Event registry](docs/eventregistry.md)

Knative Eventing with Google Cloud

* [Cloud Pub/Sub triggered service](docs/pubsubeventing.md)
* [Cloud Storage triggered service](docs/storageeventing.md)
* [Integrate with Translation API](docs/translationeventing.md)
* [Integrate with Vision API](docs/visioneventing.md)
* [Image processing pipeline](docs/image-processing-pipeline.md)
* [BigQuery processing pipeline](docs/bigquery-processing-pipeline.md)

Build

* Tekton Pipelines
* [Hello World Tekton](docs/hellotekton.md)
* [Google Container Registry Build](docs/tekton-gcrbuild.md)
* [Docker Hub Build](docs/tekton-dockerbuild.md)

* Knative Build (Deprecated)
* [Hello World Build](docs/deprecated/helloworldbuild.md)
* [Docker Hub Build](docs/deprecated/dockerbuild.md)
* [Kaniko Build Template](docs/deprecated/kanikobuildtemplate.md)
* [Buildpacks Build Template](docs/deprecated/buildpacksbuildtemplate.md)

-------

This is not an official Google product.