Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move samples to the doc repo (#1360)
* Hide finder indexes * Remove samples from serving * Add back the helloworld sample * Link to docs repo * Move build-pack samples * Clean up merge * Remove helloworld again
- Loading branch information
1 parent
3a6a17b
commit d43bc6c
Showing
59 changed files
with
4 additions
and
3,883 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
bazel-* | ||
.idea | ||
.vscode/ | ||
.DS_Store |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,4 @@ | ||
# Samples | ||
# Serving Samples | ||
|
||
This directory contains sample services which demonstrate `Knative Serving` | ||
functionality. | ||
|
||
## Prerequisites | ||
|
||
[Install Knative Serving](https://github.com/knative/install/blob/master/README.md) | ||
|
||
## Samples | ||
|
||
* [helloworld](./helloworld) - A simple webserver written in Go | ||
* [pythonsimple](./pythonsimple) - A simple webserver written in Python | ||
* [service](./service) - A simple Go example using the Service resource | ||
* [stock restful app](./stock-rest-app) - Simple Restful service | ||
* [thumbnailer](./thumbnailer) - A 'dockerized' web application creating thumbnails from videos | ||
* [steren's sample-app](./steren-app) - A simple Node.js web application | ||
* [buildpack sample app](./buildpack-app) - A sample buildpack app | ||
* [buildpack sample function](./buildpack-function) - A sample buildpack function | ||
* [steren's sample-function](./steren-function) - A simple Node.js function | ||
* [private repos](./private-repos/) - A sample illustrating private GitHub / DockerHub | ||
* [telemetrysample](./telemetrysample) - A simple webserver emitting logs and metrics | ||
* [gitwebhook](./gitwebhook) - A function that listens for git PR changes and updates the title of them | ||
* [autoscaler](./autoscale) - A demonstration of revision autoscaling | ||
* [knative routing](./knative-routing) - A demonstration of mapping multiple Knative services | ||
under a single domain. | ||
|
||
## Best Practices for Contributing to Samples | ||
* Minimize dependencies on third party libraries and prefer using standard libraries. Examples: | ||
* Use "log" for logging. | ||
Samples for Knative Serving are available in the | ||
[Knative Docs repo](https://github.com/knative/docs/tree/master/serving/samples). |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.