Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
rabbit
scripts
.gitattributes
.gitignore
readme.md
vagrantfile

readme.md

Nomad Demo

Repository to go with my talk on Nomad: Kubernetes without the Complexity.

Tooling

Required:

  • Hyper-v - You can adapt the Vagrantfiles to other virtualisation tools if you want
  • Vagrant - for the VMs
  • Nomad - to interact with the cluster
  • Bash - gitbash is fine

Optionals:

  • Consul - run a consul node on your local machine to host other services
  • Tmux - just makes running one of the scripts easier

Setup

  1. create the basemachine:
    cd ./basemachine
    ./fetch.sh
    ./export.sh
  2. start the cluster
    ./scripts/init.sh
    vagrant up
  3. Run all the demo junk
    • if you have tmux:
      ./scripts/demo.sh
    • if you don't, run a separate shell for each of these:
      • ./scripts/artifacts.sh
      • ./scripts/registry.sh
      • ./scripts/consul.sh
  4. in an admin shell, run this:
    export NOMAD_ADDR="http://$(cat server_ip):4646"
    nomad status
    You can now run jobs:
    nomad job run rabbit/rabbit.nomad

Good Luck!

You can’t perform that action at this time.