Skip to content

diogok/openfaas-on-nomad

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

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.

make install-consul intall-cni install-nomad

Starting

You can them start consul:

make start-consul

And after that start nomad:

make start-nomad

Deploying OpenFaas

OpenFaas is composed of several parts, they are all described in services folder in order of priority.

To reploy all services:

make start-services

To re-deploy a single service on Nomad:

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

About

Reference for running OpenFaas on Consul+Nomad.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published