Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/diogok/openfaas-on-nomad
Reference for running OpenFaas on Consul+Nomad.
https://github.com/diogok/openfaas-on-nomad
consul faas nomad openfaas
Last synced: 21 days ago
JSON representation
Reference for running OpenFaas on Consul+Nomad.
- Host: GitHub
- URL: https://github.com/diogok/openfaas-on-nomad
- Owner: diogok
- Created: 2019-11-16T13:42:27.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2019-11-16T13:42:45.000Z (about 5 years ago)
- Last Synced: 2025-01-10T00:08:33.176Z (25 days ago)
- Topics: consul, faas, nomad, openfaas
- Language: HCL
- Size: 6.84 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# OpenFAAS on Hashistack
This is a reference for running OpenFAAS on Consul+Nomad.
## Instructions
This is for running local.
### Installation
With the Makefile you can install consul, nomad and cni plugins (needed for nomad network namespace and consul connect). They will be installed system-wide.
```sh
make install-consul intall-cni install-nomad
```### Starting
You can them start consul:
```sh
make start-consul
```And after that start nomad:
```sh
make start-nomad
```
### Deploying OpenFaasOpenFaas is composed of several parts, they are all described in services folder in order of priority.
To reploy all services:
```sh
make start-services
```To re-deploy a single service on Nomad:
```sh
nomad job run services/00-prometheus.hcl
```And so on for each service, in order.
### Accessing
You can access the gateway at [http://localhost/gateway/ui] and grafana at [http://localhost/grafana].
## License
MIT