- VirtualBox: 5.0.26r108824
- Vagrant: 1.8.5
- Ansible: 2.1.1.0
- Maven: 3.3.9
- Consul: 0.7.0
- Consul-template: 0.16.0
- Nomad: 0.4.1
All nodes at once
vagrant up # start all nodesOne node at a time
vagrant up nomad0 # start server
vagrant up nomad1 # start client 1
vagrant up nomad2 # start client 2
vagrant up nomad3 # start client 3Save snapshot of initial state
vagrant snapshot save initRestore snapshot of initial state
vagrant halt
vagrant snapshot restore initONLINE
npm install http-serverOFFLINE
./node_modules/.bin/http-server .ONLINE
Package version 1.0
mvn clean package -f demo/demo-servicePackage version 2.0
mvn versions:set -f demo/demo-service -DnewVersion=2.0
mvn clean package -f demo/demo-serviceOFFLINE
nomad run demo/demo-service/step1_job.hcl
nomad run demo/demo-service/step2_services.hcl
nomad run demo/demo-service/step3_restart.hcl
nomad run demo/demo-service/step4_scale.hcl
nomad run demo/demo-service/step5_rolling_update.hcl
nomad run demo/demo-service/step6_blue_green.hclONLINE
mvn clean package -f demo/demo-batchOFFLINE
nomad run demo/demo-batch/step1_job.hclONLINE
docker pull elasticsearch:2.3.5
docker save elasticsearch:2.3.5 > downloads/elasticsearch-2.3.5.tar
docker pull elasticsearch:2.4.1
docker save elasticsearch:2.4.1 > downloads/elasticsearch-2.4.1.tarOFFLINE
nomad run demo/demo-storage/step1_job.hcl
nomad run demo/demo-storage/step2_scale.hcl
nomad run demo/demo-storage/step3_rolling_update.hcl
nomad run demo/demo-storage/step4_blue_green.hclONLINE
docker pull iverberk/nomad-ui:v0.2.1
docker save iverberk/nomad-ui:v0.2.1 > downloads/nomad-ui-v0.2.1.tarOFFLINE
docker run -e NOMAD_ADDR=http://192.168.99.100:4646 -p 3000:3000 iverberk/nomad-ui:v0.2.1ONLINE
docker pull magiconair/fabio:1.3.4-go1.7.3
docker save magiconair/fabio:1.3.4-go1.7.3 > downloads/fabio-1.3.4-go1.7.3.tarOFFLINE
nomad run demo/demo-router/step1_job.hcl
nomad run demo/demo-router/step2_constraint.hcl