https://github.com/liemle3893/nomad-getting-started
https://github.com/liemle3893/nomad-getting-started
docker hashicorp hashicorp-nomad microservices nomad nomad-cluster traefik-v2
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/liemle3893/nomad-getting-started
- Owner: liemle3893
- Created: 2020-04-01T03:58:13.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-04-01T08:42:13.000Z (over 5 years ago)
- Last Synced: 2025-06-23T05:08:38.110Z (3 months ago)
- Topics: docker, hashicorp, hashicorp-nomad, microservices, nomad, nomad-cluster, traefik-v2
- Language: Ruby
- Homepage:
- Size: 11.7 KB
- Stars: 5
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
Awesome Lists containing this project
README
# Nomad Getting Started Guide
For those who tired of "The Complex of K8S" or getting familiar with **__Orchestrator__**
### Requirements
- [Docker](https://www.docker.com/) is installed
- [Nomad](https://nomadproject.io/downloads/) is installed
- [Consul](https://www.consul.io/) is installed
- [Levant](https://github.com/jrasell/levant) is installed#### Bonus: [Vagrant](https://www.vagrantup.com/downloads.html) is installed to learn how to bootstrap nomad cluster
## How to
```shell script
# 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```