Skip to content
This repository has been archived by the owner on Oct 25, 2022. It is now read-only.

lucasmdrs/openfaas-example

Repository files navigation

OpenFaaS Example

Um repositório para exemplificar a utilização do OpenFaaS.


First Steps:

  • Entre em Play With Docker

  • Adicione 4 instancias Com isso você terá os seguintes hostnames : node1, node2, node3 e node4.

  • Inicie o modo Swarm na instancia node1

docker swarm init --advertise-addr eth0
  • Copie o docker comando para aderir a swarm
docker swarm join --token [TOKEN] [IP]
  • Rode o comando nas outras instancias

  • Novamente na instancia node1 faça o clone deste repositório

git clone https://github.com/lucasmdrs/openfaas-example.git && cd openfaas-example/
  • Execute o script de deploy
./deploy_openfaas.sh
  • Execute o script de instalação do faas-cli (Opcional)
./deploy_faas-cli.sh

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages