Super simple examples of faas-flow
Sync Chain Async Chain Parallel Branching Dynamic Branching Conditional Branching
- Deploy Openfaas
- Deploy Faasflow Infra (https://github.com/faasflow/faas-flow-infra#deploy-in-kubernetes)
- Review your configuration at
flow.yml
environment:
gateway: "gateway.openfaas:8080"
enable_tracing: true
trace_server: "jaeger-agent.faasflow:5775"
enable_hmac: false
consul_url: "consul.faasflow:8500"
consul_dc: "dc1"
s3_url: "minio.faasflow:9000"
s3_tls: false
- Deploy the flow-functions
faas deploy
- Request the flows
curl -v http://127.0.0.1:8080/function/sync-chain
curl -v http://127.0.0.1:8080/function/async-chain
curl -v http://127.0.0.1:8080/function/parallel-branching
curl -v http://127.0.0.1:8080/function/dynamic-branching
curl -v http://127.0.0.1:8080/function/conditional-branching
- Check the logs of storage function
Sync Chain Async Chain Parallel Branching Dynamic Branching Conditional Branching