Node Red extension for Fission with function invocation/management and other commands support.
Invoke Hello World Function:
In this demo, we create a simple
inject node to inject messages manually,
debug node to output messages,
fission function node to invoke
hello in fission via fission function endpoint.
The params are packed and sent to the fission function, the result is parsed and then passed
to the next node in the flow.
Create a web app in 30 minutes
In this demo, we create 12 flows which consist of 16 functions and 62 nodes.
It required 3rd-party services (Minio, Redis, Rethinkdb) managed by
adapters to translate events in 3rd-party services into messages in the flow charts,
and some standard functions provided by us (e.g. image processing).
Monitor the flow charts online In this demo, we are running the web app backend using fission and nodered. An admin ui is using the web app Http API to pull the images and client data. 100 clients are uploading images and reporting status at different rate. We can see every invocation on the flows we composed in the last demo. The detail metrics of each fission function are displayed in charts.
You need to enable the metrics feature in this PR
and expose the prometheus service
prometheus on port
You need to enable the auto scaling feature in this PR
# use the official node red docker image $ kubectl create -f nodered.yaml
Open the node red ui on nodeport
node-red-contrib-fission in node red palette and install.
The following node requires standard fission functions or require additional modification to fission:
k8s branch contains all the nodes I am working on. If you are interested, check that out.