Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 998 Bytes

README.MD

File metadata and controls

36 lines (24 loc) · 998 Bytes

Nomad Getting Started Guide

For those who tired of "The Complex of K8S" or getting familiar with Orchestrator

Requirements

Bonus: Vagrant is installed to learn how to bootstrap nomad cluster

How to

# 1. Start consul
$ consul agent -dev

# 2. Start nomad (in another shell)
$ nomad agent -dev

# 3. Start Traefik as Proxy/Ingress (in another shell)
$ ./jobs/ingress/start-ingress.sh

# 4. Start demo API (Read README.MD at docker/web for more information)
$ ./docker/web/deployment/start.sh


# 5. Finally, check endpoint at
$ curl localhost:38930/go-demo/healthz
$ curl localhost:38930/go-demo/env
$ curl "localhost:38930/go-demo/file?file=local/env"
$ curl localhost:38930/go-demo/metrics