Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ineat/ineat-openfaas-install
https://github.com/ineat/ineat-openfaas-install
Last synced: 6 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/ineat/ineat-openfaas-install
- Owner: ineat
- Created: 2019-01-12T11:40:17.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-03-09T10:05:52.000Z (almost 6 years ago)
- Last Synced: 2024-11-07T11:44:33.829Z (about 2 months ago)
- Size: 5.86 KB
- Stars: 2
- Watchers: 6
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# OpenFaas on Docker Swarm Tutorial
This project contains VagrantFile and Ansible Playbooks wich can be used to create a local cluster with OpenFaas deployed on it[OpenFaas on Swarm Cluster](https://blog.ineat-conseil.fr/2019/01/serverless-sur-raspberry-pi-avec-docker-swarm-et-openfaas-partie-1-installation-dopenfaas/)
## How to add worker
> In vagrant-config.yml, add new worker settings. For example :
```yaml
...
worker-3:
ip: "10.0.3.5"
config:
cpus: 1
memory: 512
image: "ubuntu/xenial64"
network: "private_network"
...
```> In hosts.yml, add worker IP in workers. For example :
```yaml
[workers]
...
10.0.3.5
```## How to start
> Clone this project
> Start cluster creation with the following command :```shell
vagrant up
```