Skip to content

s8sg/branching-in-faas-flow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

branching-in-faas-flow

Super simple examples with dynamic branching in faas-flow

dashboard-view

Getting Started

  1. Deploy Openfaas
  2. Deploy Consul as a statestore, follow : https://github.com/s8sg/faas-flow-consul-statestore or https://learn.hashicorp.com/consul/datacenter-deploy/deployment-guide
  3. Deploy Minio as a datastore, follow : https://docs.min.io/docs/minio-deployment-quickstart-guide.html
  4. Deploy Jaguer Tracing, follow: https://www.jaegertracing.io/docs/1.8/getting-started/
  5. Review your configuration at flow.yml
environment:
  workflow_name: "test-branching"
  gateway: "gateway:8080"
  enable_tracing: true
  trace_server: "jaegertracing:5775"  
  enable_hmac: false
  consul_url: "statestore_consul:8500"
  consul_dc: "dc1"
  s3_url: "minio:9000"
  s3_tls: false
  1. Deploy the flow-function
faas template pull https://github.com/s8sg/faas-flow
faas build
faas deploy
  1. Request the flow
curl http://127.0.0.1:8080/function/test-branching

Tracing Information in Jaguer Tracing
tracing-info