https://github.com/diogok/nomad-base-services
common cloud services setup like logging, metrics and tracing
https://github.com/diogok/nomad-base-services
cloud cloud-native consul docker fluentd grafana jaeger nomad prometheus weave zipkin
Last synced: about 1 month ago
JSON representation
common cloud services setup like logging, metrics and tracing
- Host: GitHub
- URL: https://github.com/diogok/nomad-base-services
- Owner: diogok
- Created: 2019-04-16T13:37:07.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-10-24T02:15:18.000Z (almost 6 years ago)
- Last Synced: 2025-04-06T17:50:10.765Z (7 months ago)
- Topics: cloud, cloud-native, consul, docker, fluentd, grafana, jaeger, nomad, prometheus, weave, zipkin
- Language: Makefile
- Size: 25.4 KB
- Stars: 6
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Consul, Nomad and OPS services
This is a local setup, for demo purposes, of Consul and Nomad with current cloud services.
This is supposed to be used with my [systemd-nomad](https://github.com/diogok/systemd-nomad).
## Features
- [Consul]() for service discovery
- [Weave]() for service mesh
- [Nomad]() for orchestration
- [Elasticsearch]() for logs and metrics data
- [Fluentbit](), from fluentd, for logging gathering
- [Kibana]() for logging viewing
- [Curator]() for log rotation
- [Prometheus]() for metrics gathering
- [Grafana]() for metrics viewing
- Some ready grafana dashboards
- [Traefik]() for proxying
- [Jaeger]() for open tracing
- [Node exporter]() for machine metrics
- [Elasticsearch export]() for ES metricsRuning elasticsearch (or any db) in the orchestrated cluster is not ideal and it is done here only for demonstration.
## Running
To install consul, nomad, levant (a tool to easier deploy to nomad) and weave:
```
make install
```To start all in dev mode:
```
make start
```To run all services:
```
make deploy-all
```To run a single service:
make deploy JOB=services/service_name.nomad
## Acessing
Important links:
- Consul at [http://localhost:8500]
- Nomad at [http://localhost:4646]
- Weave at [http://localhost:4040]
- Traefik admin at [http://localhost:8080]
- Grafana at [http://localhost/grafana]
- Jaeger at [http://localhost/jaeger]## License
MIT