Michael Schurter
758e1cb7f3
cli: expand drain info for node status
2018-05-04 10:32:25 -07:00
Michael Schurter
443c1f3f3f
Merge pull request #4178 from hashicorp/f-sort-drivers
...
cli: sort drivers in `node status <node_id>`
2018-04-20 14:03:26 -07:00
Michael Schurter
91cd1a2258
cli: sort drivers in node status <node_id>
2018-04-18 14:30:44 -07:00
Nick Ethier
45b0ce9177
command: improve help text when invalid arguments are given
2018-04-18 12:02:11 -04:00
Alex Dadgar
725f36a7ca
Non-verbose driver formatting and don't display non-detected
2018-04-12 11:26:00 -07:00
Michael Schurter
1b1a8d44fd
cli: remove outdated hints
...
Hints no longer apply in the 0.8 Node RPC world.
2018-04-09 12:09:47 -07:00
Chelsea Holland Komlo
bf89de322f
correctly initialize array length
2018-04-09 10:51:08 -04:00
Chelsea Holland Komlo
3c9a149cf3
remove stray comma
2018-04-05 18:20:52 -04:00
Chelsea Holland Komlo
927ddd7ff1
Display truncated driver list in non-verbose mode
...
separate drivers by commas
2018-04-05 14:25:59 -04:00
Chelsea Holland Komlo
7679ba758e
display driver status only in verbose mode or if the driver is unhealthy
2018-04-03 11:23:12 -04:00
Chelsea Holland Komlo
43f11cc930
add further driver info; driver name with subsystem
2018-03-29 13:34:30 -04:00
Chelsea Holland Komlo
0c6b896707
Revert "omit driver key/val from details"
...
This reverts commit 74fc5543ba .
2018-03-29 12:49:46 -04:00
Chelsea Holland Komlo
74fc5543ba
omit driver key/val from details
2018-03-29 12:30:12 -04:00
Chelsea Holland Komlo
9645d5120e
reformat message
2018-03-28 12:28:16 -04:00
Chelsea Holland Komlo
cdfeac13a1
specify driver health messages
2018-03-28 11:35:21 -04:00
Chelsea Holland Komlo
041786360e
use time.Time for node events for compatibility
2018-03-27 15:43:57 -04:00
Chelsea Holland Komlo
6e35eec31e
properly formatting unix timestamps
2018-03-27 15:43:57 -04:00
Alex Dadgar
01716489ba
sort driver output
2018-03-23 10:59:18 -07:00
Alex Dadgar
95a7e1a90a
Driver Info output
2018-03-22 17:18:32 -07:00
Alex Dadgar
d65ae92dfa
Small refactor and cleanups
2018-03-21 16:51:44 -07:00
Alex Dadgar
d6399cb733
Add eligibility to node view
2018-03-21 16:51:44 -07:00
Alex Dadgar
2bdeacebff
Drain cli, api, http
2018-03-21 16:51:43 -07:00
Alex Dadgar
eceabb66f8
nodeevents -> events
2018-03-13 18:08:22 -07:00
Alex Dadgar
57ddd511cc
fixes
2018-03-13 18:08:22 -07:00
Chelsea Holland Komlo
319f80907c
code review feedback
2018-03-13 18:08:21 -07:00
Chelsea Holland Komlo
6eb9911caf
code review feedback
2018-03-13 18:08:21 -07:00
Chelsea Holland Komlo
fc819754a4
Ensure node updates don't strip node events
...
Add node events to CLI
2018-03-13 18:05:40 -07:00
Josh Soref
e1eb3e4684
spelling: sanitize
2018-03-11 18:52:59 +00:00
James Rasell
3868e88518
Update node-status verbose command to include node address.
...
This change updates the `nomad node-status -verbose` command to
also include the addreess of the node. This is helpful for cluster
administrators to quickly discover information and access nodes
when required.
2017-12-21 08:58:35 +00:00
Alex Dadgar
a9e3a41407
Enable more linters
2017-09-26 15:26:33 -07:00
Alex Dadgar
c85e8aa02f
Merge pull request #3127 from hashicorp/b-tls-api
...
Fix TLSServerName for Node API Client
2017-08-29 16:10:58 -07:00
Alex Dadgar
5d65af523d
Check for errors initializing client for autocomplete
2017-08-29 14:29:32 -07:00
Alex Dadgar
b86e05b4a0
use helper
2017-08-29 10:04:02 -07:00
Alex Dadgar
0852c0ab3a
status commands handle uuid prefixes with hyphens
2017-08-29 09:43:28 -07:00
Alex Dadgar
ce3c316592
don't limit on one arg
2017-08-28 13:40:04 -07:00
Alex Dadgar
85a1899dfa
Reduce startup time on Mac
...
This PR moves creating the API client into the returned predict
function. The creation of the client causes a lookup of all the system
certificates and doing that for each command on mac was extremely slow.
2017-08-28 11:29:27 -07:00
Alex Dadgar
4d97b302a0
Search respects QueryOptions and returns QueryMeta
...
@chelseakomlo heads up on this change
2017-08-27 22:17:51 -07:00
Chelsea Holland Komlo
e88228cc5d
add global flags to autocomplete
2017-08-23 22:58:44 +00:00
Chelsea Holland Komlo
335cf888b0
use PredictAnything when an flag accepts an argument
2017-08-23 22:58:44 +00:00
Chelsea Holland Komlo
c1e5c7132a
enable autocompletion of flags
2017-08-23 22:57:07 +00:00
Alex Dadgar
d493797b49
move autocomplete functions to top for consistency of placement
2017-08-22 13:41:42 -07:00
Alex Dadgar
7a6ccf126c
Merge pull request #3002 from jrasell/gh_2993
...
Add the Nomad agent version to the node-status CLI output.
2017-08-22 10:43:25 -07:00
James Rasell
fe481ae0dd
Updates based on feedback provided by dadgar.
2017-08-16 22:19:31 +01:00
Chelsea Holland Komlo
ca6562adbd
tab completion should only happen once
2017-08-16 17:04:47 +00:00
Chelsea Holland Komlo
af2f20f1bf
tests for autocomplete functions
2017-08-15 20:21:50 +00:00
Chelsea Holland Komlo
6f0413528a
adding autocomplete for nodes, evals, and jobs
2017-08-14 20:44:28 +00:00
“James
113e9b0c33
Add the Nomad agent version to the node-status CLI putput.
2017-08-10 08:27:26 +01:00
Alex Dadgar
3cd8d50bbc
Multiple matched objects now treated as an error condition.
2017-07-20 17:31:07 -07:00
Alex Dadgar
c5b1e2dcc1
alloc-list shows version
2017-07-07 12:12:48 -07:00
Alex Dadgar
468c886282
Formatting abilities
2017-07-07 12:07:07 -07:00