Skip to content

Instantly share code, notes, and snippets.

@Smithx10
Created May 16, 2019 18:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save Smithx10/436945c1d2c05069e7bd2b830fd36915 to your computer and use it in GitHub Desktop.
Save Smithx10/436945c1d2c05069e7bd2b830fd36915 to your computer and use it in GitHub Desktop.
arch@archlinux ~/g/s/g/test ❯❯❯ nomad status consul
ID = consul
Name = consul
Submit Date = 2019-05-15T13:28:44-04:00
Type = service
Priority = 50
Datacenters = dc1
Status = dead (stopped)
Periodic = false
Parameterized = false
Summary
Task Group Queued Starting Running Failed Complete Lost
consul 0 0 0 2 12 0
Allocations
ID Node ID Task Group Version Desired Status Created Modified
42876728 b1642dfe consul 6 stop complete 1d1h ago 6h4m ago
6a33177b b1642dfe consul 6 stop complete 1d1h ago 6h4m ago
9438bf67 b1642dfe consul 6 stop complete 1d1h ago 6h4m ago
arch@archlinux ~/g/s/g/test ❯❯❯ nomad alloc status 42876728
ID = 42876728
Eval ID = 1c6e4cb0
Name = consul.consul[2]
Node ID = b1642dfe
Job ID = consul
Job Version = 6
Client Status = complete
Client Description = All tasks have completed
Desired Status = stop
Desired Description = alloc not needed due to job update
Created = 1d1h ago
Modified = 6h4m ago
Deployment ID = fe16fc9b
Deployment Health = healthy
Task "consul" is "dead"
Task Resources
CPU Memory Disk Addresses
20 MHz 10 MiB 300 MiB
Task Events:
Started At = 2019-05-15T17:29:23Z
Finished At = 2019-05-16T12:36:59Z
Total Restarts = 0
Last Restart = N/A
Recent Events:
Time Type Description
2019-05-16T08:36:59-04:00 Killed Task successfully killed
2019-05-16T08:36:45-04:00 Terminated Exit Code: 0
2019-05-16T08:35:57-04:00 Killing Sent interrupt
2019-05-15T13:29:23-04:00 Started Task started by client
2019-05-15T13:28:44-04:00 Task Setup Building Task Directory
2019-05-15T13:28:44-04:00 Received Task received by client
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment