Update 'Serverless (FaaS)'

verita84 2021-11-15 19:27:26 +00:00
parent 58d8eef559
commit 4267d3822b

@ -1,7 +1,6 @@
With this feature, applications can spin up containers themselves and retrieve data from the PiCluster server. Lets explore how this works. First, upload ```function-sample.zip``` from ```picluster/example/x86_64/ubuntu``` in the ```Image``` -> ```Manage``` -> ```Upload``` section of the PiCluster Web Console. Next, create a function as shown below.
![Pic](https://verita84.com/git/verita84/picluster/raw/branch/master/images/faas-2.png)
![Pic](https://git.rage.lol/verita84/picluster/raw/branch/master/images/faas-2.png)
Below is the sample code for the function. It is a simple Node.js application that sends ```Hello, World!``` back to the server as the output.
```