https://github.com/githubfoam/nomad-sandbox
Nomad Consul Docker Vagrant pipeline
https://github.com/githubfoam/nomad-sandbox
consul docker nomad pipeline vagrant
Last synced: 11 months ago
JSON representation
Nomad Consul Docker Vagrant pipeline
- Host: GitHub
- URL: https://github.com/githubfoam/nomad-sandbox
- Owner: githubfoam
- License: gpl-3.0
- Created: 2018-11-30T15:50:25.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2020-07-14T17:53:34.000Z (over 5 years ago)
- Last Synced: 2025-02-05T07:49:36.558Z (about 1 year ago)
- Topics: consul, docker, nomad, pipeline, vagrant
- Language: Shell
- Homepage:
- Size: 40 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Nomad Consul Docker Redis Vagrant Sandbox
Travis (.com) :
[](https://travis-ci.com/githubfoam/nomad-sandbox)
~~~~
# This means that this server will manage state and make scheduling decisions but will not run any tasks
- nomad agent -config /vagrant/server.hcl &>/dev/null &
# start an agent in server only mode and have it elected as a leader
- nomad server members
# view the members of the gossip ring
- nomad agent -config /vagrant/client1.hcl &>/dev/null &
- nomad agent -config /vagrant/client2.hcl &>/dev/null &
# need some agents to run tasks
- nomad node status
# see the registered nodes of the Nomad cluster
- nomad job init
# use the job init command which generates a skeleton job file
# a single task 'redis' which is using the Docker driver to run the task
- nomad job run example.nomad
# register example job
- nomad status example
# inspect the status of example job
- curl -Is http://localhost:4646 | head -n 1
# Opening the Web UI
# hosted at the same address and port as the Nomad HTTP API under the /ui namespace.
# http://localhost:4646/ui/clients
# HTTP/1.1 307 Temporary Redirect
~~~~
~~~~
KVM/Installation
https://help.ubuntu.com/community/KVM/Installation
Jobs
https://learn.hashicorp.com/nomad/getting-started/jobs
~~~~