mirror of https://github.com/knative/docs.git
55 lines
3.9 KiB
Markdown
Executable File
55 lines
3.9 KiB
Markdown
Executable File
---
|
|
audience: administrator
|
|
components:
|
|
- serving
|
|
- eventing
|
|
function: reference
|
|
---
|
|
|
|
# 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:
|
|
|
|
- [Eventing and Eventing Sources code samples](eventing.md)
|
|
- [Serving code samples](serving.md)
|
|
- [E2E Sample Application - Knative Bookstore](https://github.com/knative/docs/tree/main/code-samples/eventing/bookstore-sample-app)
|
|
|
|
!!! tip
|
|
E2E Sample Application - Knative Bookstore is a sample application that demonstrates how to use all part of Knative: **Eventing, Serving, and Function**, to build a simple bookstore application.
|
|
|
|
## 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](https://github.com/knative/docs/tree/main/code-samples/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](https://github.com/knative/docs/blob/main/contribute-to-docs/what-to-contribute/creating-code-samples.md#user-focused-content)
|
|
|
|
| Sample Name | Description | Language(s) |
|
|
| ----------- | ----------- | ----------- |
|
|
| Hello World | A quick introduction to Knative Serving that highlights how to deploy an app. | [Clojure](https://github.com/knative/docs/tree/main/code-samples/community/serving/helloworld-clojure), [Dart](https://github.com/knative/docs/tree/main/code-samples/community/serving/helloworld-dart), [Elixir](https://github.com/knative/docs/tree/main/code-samples/community/serving/helloworld-elixir), [Haskell](https://github.com/knative/docs/tree/main/code-samples/community/serving/helloworld-haskell), [Java - Micronaut](https://github.com/knative/docs/tree/main/code-samples/community/serving/helloworld-java-micronaut), [Java - Quarkus](https://github.com/knative/docs/tree/main/code-samples/community/serving/helloworld-java-quarkus), [R - Go Server](https://github.com/knative/docs/tree/main/code-samples/community/serving/helloworld-r), [Rust](https://github.com/knative/docs/tree/main/code-samples/community/serving/helloworld-rust), [Swift](https://github.com/knative/docs/tree/main/code-samples/community/serving/helloworld-swift), [Vertx](https://github.com/knative/docs/tree/main/code-samples/community/serving/helloworld-vertx) |
|
|
| Machine Learning | A quick introduction to using Knative Serving to serve machine learning models | [Python - BentoML](https://github.com/knative/docs/tree/main/code-samples/community/serving/machinelearning-python-bentoml)
|
|
|
|
## External code samples
|
|
|
|
A list of links to Knative code samples located outside of Knative repos:
|
|
|
|
<!--LINK TITLES must match the title of the sample page they link to to avoid confusion and provide a consistent UX). If descriptions are required here, this should be converted to a table as above-->
|
|
|
|
- [Image processing using Knative Eventing, Cloud Run on GKE and Google Cloud Vision API](https://github.com/akashrv/knative-samples/blob/master/docs/image-processing.md)
|
|
- [Knative Eventing Examples](https://github.com/lionelvillard/knative-examples)
|
|
- [knfun](https://github.com/maximilien/knfun)
|
|
- [Getting Started with Knative 2020](https://salaboy.com/2020/02/20/getting-started-with-knative-2020/)
|
|
- [Image Processing Pipeline](https://github.com/meteatamel/knative-tutorial/blob/master/docs/image-processing-pipeline.md)
|
|
- [BigQuery Processing Pipeline](https://github.com/meteatamel/knative-tutorial/blob/master/docs/bigquery-processing-pipeline.md)
|
|
- [Simple Performance Testing with SLOs](/blog/articles/performance-test-with-slos/)
|
|
|
|
!!! tip
|
|
Add a link here to your externally hosted Knative code sample.
|