Chelsea Holland Komlo
76827c98f7
use constants for contexts
2017-08-14 17:38:10 +00:00
Chelsea Holland Komlo
465c4d7082
change endpoint to /v1/search
2017-08-14 17:38:10 +00:00
Chelsea Holland Komlo
5ee58a391b
rename to cluster search
...
comment updates
2017-08-14 17:36:14 +00:00
Chelsea Holland Komlo
9402d330e8
autocomplete for allocation ids
2017-08-14 17:35:35 +00:00
Alex Dadgar
4f6f6a13c8
Emit generic task events
2017-08-07 21:26:04 -07:00
Alex Dadgar
eef3b15005
Ensure backwards compatibility between 0.6.X CLI and 0.5.X
...
This PR goes through the CLI commands and ensures that a 0.6.X cli
gracefully handles interacting with a 0.5.X Nomad Agent.
Fixes https://github.com/hashicorp/nomad/issues/2918
2017-07-28 10:20:47 -07:00
Alex Dadgar
ade9a7c768
@jippi Changed my mind! Good suggestion
2017-07-07 12:12:48 -07:00
Alex Dadgar
770af68119
alloc-status
2017-07-07 12:12:48 -07:00
Alex Dadgar
40b04a5ea9
alloc-list shows version
2017-07-07 12:12:48 -07:00
Alex Dadgar
780de092ce
Formatting abilities
2017-07-07 12:07:07 -07:00
Alex Dadgar
fcdefca1bf
Display Disk resources on CLI
...
Fixes https://github.com/hashicorp/nomad/issues/2401
2017-03-06 12:53:24 -08:00
Alex Dadgar
5fd7975750
Fix pointer dereference for stats
2017-02-25 13:36:23 -08:00
Diptanu Choudhury
98921575af
Adding a task event for setup
2017-02-22 18:28:07 -08:00
Alex Dadgar
9d5ef6e5f2
fix pointer
2017-02-20 16:22:31 -08:00
Diptanu Choudhury
7567209857
Making the job spec return api.Job
2017-02-16 13:52:39 -08:00
Alex Dadgar
4432b09e03
Remove old vault status
2017-02-13 10:44:10 -08:00
Alex Dadgar
238b4bcafd
Add Leader support to client
2017-02-10 17:55:19 -08:00
Michael Schurter
4a9a574d9d
Merge pull request #2054 from hashicorp/f-prestart
...
Add Driver.Prestart method
2016-12-20 16:18:56 -08:00
Michael Schurter
2aa235f8f2
Rename InitializationMessage to DriverMessage
2016-12-20 11:51:09 -08:00
Justin Walz
1f5e78cc87
show desired status and description for allocation
2016-12-15 15:15:29 -08:00
Brian Shumate
f292889970
Help text grammar updates
...
- Grammar change in usage info text
- Capitalization in stats retrieval error text
- Typo in outputTaskResources stats comment
2016-12-15 12:31:29 -05:00
Michael Schurter
770ed703d0
Add Driver.Prestart method
...
The Driver.Prestart method currently does very little but lays the
foundation for where lifecycle plugins can interleave execution _after_
task environment setup but _before_ the task starts.
Currently Prestart does two things:
* Any driver specific task environment building
* Download Docker images
This change also attaches a TaskEvent emitter to Drivers, so they can
emit events during task initialization.
2016-12-02 11:03:48 -08:00
Alex Dadgar
fa2c19d0e6
Merge pull request #1844 from hashicorp/b-alloc-stats
...
Don't query for stats if the node is down and handle the errors
2016-10-25 11:31:19 -07:00
Alex Dadgar
b70baffcc0
address feedback
2016-10-25 11:31:09 -07:00
Michael Schurter
285e80ac0f
Remove disk usage enforcement
...
Many thanks to @iverberk for the original PR (#1609 ), but we ended up
not wanting to ship this implementation with 0.5.
We'll come back to it after 0.5 and hopefully find a way to leverage
filesystem accounting and quotas, so we can skip the expensive polling.
2016-10-21 13:55:51 -07:00
Alex Dadgar
7368b468d5
Don't query for node-status if the node is down and handle the errors
2016-10-20 18:05:58 -07:00
Alex Dadgar
bc35eaee21
Task runner sends signals
2016-10-10 15:09:00 -07:00
Alex Dadgar
8fb07bb083
Fix handling of restart in TaskEvents
2016-10-06 15:06:54 -07:00
Alex Dadgar
8eb7fa91cf
Start of integration
2016-10-06 15:05:49 -07:00
Alex Dadgar
50efdb00e9
Merge pull request #1713 from hashicorp/f-alloc-runner-vault
...
Vault integration in client
2016-09-20 16:15:55 -07:00
Alex Dadgar
ada5d8dd0c
alloc-status
2016-09-14 18:27:13 -07:00
Alex Dadgar
6702a29071
Vault token threaded
2016-09-14 13:30:01 -07:00
Mathias Lafeldt
ff87952cfb
Fix typo in alloc-status output
2016-09-13 17:47:11 +02:00
Mathias Lafeldt
51dfbf9dbf
Make alloc-status -short work without allocation stats
2016-08-29 17:45:23 +02:00
Cameron Davison
d87c66c054
add Created At to nomad alloc-status
2016-08-18 21:25:32 -05:00
Alex Dadgar
d108344eea
Merge pull request #1540 from novilabs/add-creation-time-to-job-status
...
Add creation time to job status
2016-08-15 21:04:14 -07:00
Kenjiro Nakayama
32d20c8453
Add test to check both -json and -t are not specified
2016-08-09 21:06:20 +09:00
Kenjiro Nakayama
b5b6297cd3
Support JSON and template data output list when no args specified
2016-08-09 21:06:20 +09:00
Kenjiro Nakayama
770f37881f
Update help and error message
2016-08-09 21:06:20 +09:00
Kenjiro Nakayama
64340a6e1b
Stop using format option and support json and t option
2016-08-09 21:06:20 +09:00
Kenjiro Nakayama
41cf333c51
Support JSON and template format with nomad CLI
2016-08-09 21:06:20 +09:00
Cameron Davison
e0d757b7b0
move formatUnixNanoTime into a utility function
2016-08-08 21:24:38 -05:00
Alex Dadgar
84c3711989
Merge pull request #1457 from hashicorp/f-kill-event
...
Add killing event and mark task as not running when killed
2016-07-22 17:33:18 -07:00
Alex Dadgar
90748cedad
Add killing event and mark task as not running when killed
2016-07-21 15:49:54 -07:00
Kenjiro Nakayama
f5c6d4bd44
[tiny] Output MHz to CPU resouces in alloc-status
2016-07-20 19:46:34 +09:00
Sean Chittenden
7566e8a04b
Improve the error messages when obtaining node and alloc stats
2016-06-17 13:24:10 -07:00
Sean Chittenden
f9562cf656
Lump this fix in with gopsutils: guard against errors from stats.
2016-06-17 13:24:10 -07:00
Alex Dadgar
e547f1a86d
use base 1024 for bytes not 1000
2016-06-12 14:20:39 -07:00
Alex Dadgar
b3a48f5d53
reworked alloc-status command
2016-06-12 14:08:47 -07:00
Alex Dadgar
e931b42473
unify cli output
2016-06-12 13:16:07 -07:00