Simple knative development environment using k3d. stand up a working knative serving & eventing environment for development within two minutes.
Below are required for commands to work.
go-task
: https://taskfile.devkn
: https://github.com/knative/client
task bootstrap
This one single command will give you the following in right around two minutes.
- K3d single node cluster
- Knative Operator
- Knative Serving
- Knative Eventing
- Kourier Ingress
The k3d runs loadbalancer and binds to ports 80
and 443
on localhost.
Serving is configured to use the vcap.me
domain which resolves to 127.0.0.1
for all subdomains.
A few things have quick commands for easy setup
task extras:apiserver
: install anApiServerSource
task extras:broker
: install a Broker nameddefault
task extras:display
: installevent-display
that listens to default brokertask extras:player
: installcloudevent-player
that listens to default broker