Knative code samples¶
You can use Knative code samples to help you get up and running with common use cases.
Knative owned samples¶
Knative code samples that are actively tested and maintained by Knative working groups:
Community owned samples¶
Get up and running with one of the community code samples. These samples are contributed and maintained by members of the Knative community. View code samples that are contributed and maintained by the community.
Note: These samples might become outdated or the original author might be unable to maintain their contribution. If you find that something isn't working, lend a helping hand and fix it in a PR.
Learn more about the lifespan of samples
Sample Name | Description | Language(s) |
---|---|---|
Hello World | A quick introduction to Knative Serving that highlights how to deploy an app. | Clojure, Dart, Elixir, Haskell, Java - Micronaut, Java - Quarkus, R - Go Server, Rust, Swift, Vertx |
Machine Learning | A quick introduction to using Knative Serving to serve machine learning models | Python - BentoML |
External code samples¶
A list of links to Knative code samples located outside of Knative repos:
- Image processing using Knative Eventing, Cloud Run on GKE and Google Cloud Vision API
- Knative Eventing Examples
- knfun
- Getting Started with Knative 2020
- Image Processing Pipeline
- BigQuery Processing Pipeline
- Simple Performance Testing with SLOs
Tip
Add a link here to your externally hosted Knative code sample.