faas-flow-infra
May 27, 2020 ยท View on GitHub
Faas-Flow infra provides the kubernetes and swarm deployment resources for faas-flow dependencies.
Infra Components
- Minio: used as DataStore backend;
- Consul: used as StateStore backend;
- Jaeger: used as Tracing backend.
Getting Started
First clone the repo
git clone https://github.com/s8sg/faas-flow-infra.git
cd faas-flow-infra
Deploy in Kubernetes
Prerequisites:
./deploy_helm_chart.sh
Manual Deployment
To deploy the components with official helm charts follow this guide
Deploy in Docker Swarm
Prerequisites:
To deploy initialize the cluster and run:
./deploy_docker_stack.sh
Consuming the Services
Once deployed components will be available as
| Item | Swarm URL | Kubernets URL |
|---|---|---|
| StateStore | consul:8500 | consul.faasflow:8500 |
| DataStore | minio:9000 | minio.faasflow:9000 |
| EventManager Agent | jaegertracing:5775 | jaeger-agent.faasflow:5775 |
| EventManager Query | jaegertracing:16686 | jaeger-query.faasflow:16686 |