Knative code samples
Find and use Knative code samples to help you get up and running with common use cases. Code samples include content from the Knative team and community members.
Browse all code samples to find other languages and use cases that might align closer with your goals.
Knative owned and maintained
View the set of Knative code samples that are actively tested and maintained:
Community owned and maintained
View code samples that are contributed and maintained by the community.
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 (Knative Serving implementation) and Google Cloud Vision API
- A potpourri of Knative Eventing Examples
- Knfun - a complete Knative example of three functions using Twitter and Watson API that use kn to deploy and manage functions
- Knative Eventing (Cloud Events) example using spring-boot and spring-cloud-streams + Kafka
- Image processing pipeline using Knative Eventing on GKE, Google Cloud Vision API and ImageSharp library
- BigQuery processing pipeline using Knative Eventing on GKE, Cloud Scheduler, BigQuery, mathplotlib and SendGrid
- Performance (load) testing with SLO validation for Knative HTTP services
- Performance (load) testing with SLO validation for Knative gRPC services
Please add links to your externally hosted Knative code sample.