Skip to content

liemle3893/nomad-getting-started

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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