No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
Vagrantfile
hosts.yml
install_master.yml
install_openfaas.yml
install_workers.yml
readme.md
vagrant-config.yml

readme.md

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

How to add worker

In vagrant-config.yml, add new worker settings. For example :

...
    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 :

[workers]
...
10.0.3.5

How to start

Clone this project Start cluster creation with the following command :

vagrant up