Getting Started
We suggest to deploy the framework with OpenBalena which allows to install docker containers within a set of nodes, like Raspberry Pi. However, you are free to chose your personal way of deploying the framework to all the nodes. The docker-compose.yml
needed for booting the framework is within the stack
.
Booting
For starting the bare framework, you can use the command
docker-compose up
With FaaS function
But for running a benchmark you need to install a FaaS function. In [1] and [2] the pigo-openfaas
[3] function is used. You can clone it in this folder and then:
-
Build it with
faas-cli
[4], this will create the Dockerfile needed for starting the Composefaas-cli build
-
Start the framwork
docker-compose up -f docker-compose-fn.yml
In SBCs (Single Board Computers e.g. Raspberry Pi)
For booting the framework in a set of SBCs nodes, starting from this repository and after cloning and building the functions like described above, you can use the OpenBalena [5] framework. Once all is set up, use the command to deploy the framework by building it within a node
balena deploy admin/myfleet -m -h <node-ip> -p 2375 --debug --build