root@nomad01:~# nomad run test.hcl
==> Monitoring evaluation "eba31fd3"
Evaluation triggered by job "nginx"
Allocation "e861342e" created: node "7a326813", group "nginx"
Evaluation status changed: "pending" -> "complete"
==> Evaluation "eba31fd3" finished with status "complete"
root@nomad01:~# nomad status nginx
ID = nginx
Name = nginx
Type = service
Priority = 50
Datacenters = west
Status = running
Periodic = false
Summary
Task Group Queued Starting Running Failed Complete Lost
nginx 0 0 1 0 0 0
Allocations
ID Eval ID Node ID Task Group Desired Status Created At
e861342e eba31fd3 7a326813 nginx run running 03/17/17 16:56:17 CST
bdac2446 4cb2e612 e4a22183 nginx stop complete 03/17/17 15:50:38 CST
root@nomad01:~#
root@nomad01:~#
root@nomad01:~#
root@nomad01:~# nomad alloc-status e861342e
ID = e861342e
Eval ID = eba31fd3
Name = nginx.nginx[0]
Node ID = 7a326813
Job ID = nginx
Client Status = running
Task "nginx" is "running"
Task Resources
CPU Memory Disk IOPS Addresses
Recent Events:
Time Type Description
03/17/17 16:55:45 CST Started Task started by client
03/17/17 16:55:36 CST Received Task received by client
Task "nginx-ck" is "running"
Task Resources
CPU Memory Disk IOPS Addresses
Recent Events:
Time Type Description
03/17/17 16:56:21 CST Started Task started by client
03/17/17 16:55:36 CST Received Task received by client