mirror of https://github.com/knative/docs.git
* upgrade Flask to 2.0.1 and python to 3.9 * use latest Flask version 2.0.3 and active Docker image python:3.9-alpine |
||
---|---|---|
.. | ||
helloworld-go | ||
helloworld-python | ||
README.md |
README.md
Knative Eventing - Hello World app
Following examples include a simple web app written in the language of your choice that you can use to test knative eventing. It shows how to consume a CloudEvent in Knative eventing, and optionally how to respond back with another CloudEvent in the HTTP response.
We will deploy the app as a Kubernetes Deployment along with a Kubernetes Service. However, you can also deploy the app as a Knative Serving Service.
Prerequisites
- A Kubernetes cluster with Knative Eventing
installed.
- If you decide to deploy the app as a Knative Serving Service then you will have to install Knative Serving.
- Docker installed and running on your local machine, and a Docker Hub account configured (we'll use it for a container registry).