James Rasell
45e8f977f7
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
4173834231
Enable more linters
2017-09-26 15:26:33 -07:00
Alex Dadgar
96e226f1ee
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
93add81844
Check for errors initializing client for autocomplete
2017-08-29 14:29:32 -07:00
Alex Dadgar
52fa3396e7
use helper
2017-08-29 10:04:02 -07:00
Alex Dadgar
8c1573642d
status commands handle uuid prefixes with hyphens
2017-08-29 09:43:28 -07:00
Alex Dadgar
5182ebb8cf
don't limit on one arg
2017-08-28 13:40:04 -07:00
Alex Dadgar
1df249f1fb
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
d7d8661485
Search respects QueryOptions and returns QueryMeta
...
@chelseakomlo heads up on this change
2017-08-27 22:17:51 -07:00
Chelsea Holland Komlo
ed2a544502
add global flags to autocomplete
2017-08-23 22:58:44 +00:00
Chelsea Holland Komlo
35f5c8f2dd
use PredictAnything when an flag accepts an argument
2017-08-23 22:58:44 +00:00
Chelsea Holland Komlo
2721e5890f
enable autocompletion of flags
2017-08-23 22:57:07 +00:00
Alex Dadgar
00947f3ff4
move autocomplete functions to top for consistency of placement
2017-08-22 13:41:42 -07:00
Alex Dadgar
422332c8bf
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
0d120228ea
Updates based on feedback provided by dadgar.
2017-08-16 22:19:31 +01:00
Chelsea Holland Komlo
c083af1e7c
tab completion should only happen once
2017-08-16 17:04:47 +00:00
Chelsea Holland Komlo
68679ee265
tests for autocomplete functions
2017-08-15 20:21:50 +00:00
Chelsea Holland Komlo
499de71dfd
adding autocomplete for nodes, evals, and jobs
2017-08-14 20:44:28 +00:00
“James
d6d721d7c1
Add the Nomad agent version to the node-status CLI putput.
2017-08-10 08:27:26 +01:00
Alex Dadgar
40ca1298b3
Multiple matched objects now treated as an error condition.
2017-07-20 17:31:07 -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
5be806a3df
Fix vet script and fix vet problems
...
This PR fixes our vet script and fixes all the missed vet changes.
It also fixes pointers being printed in `nomad stop <job>` and `nomad
node-status <node>`.
2017-02-27 16:00:19 -08:00
Alex Dadgar
3d353ffbcd
Node-status displays drivers
...
This PR adds the drivers that are enabled to the output of `nomad
node-status`
2017-02-22 18:54:28 -08:00
Diptanu Choudhury
7567209857
Making the job spec return api.Job
2017-02-16 13:52:39 -08:00
Alex Dadgar
e2c16446ec
Output Node meta in verbose mode
2016-10-20 17:36:34 -07:00
Mathias Lafeldt
074ff512b2
Make node-status -short work without node stats
2016-08-29 17:45:37 +02:00
Diptanu Choudhury
37d0c2c01c
Merge pull request #1538 from nak3/output-host-disk-utilization2
...
node-status outputs volumename instead of 0B utilization when non-physical volume is used
2016-08-10 15:09:23 -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
Kenjiro Nakayama
0fc15287f9
node-status outputs volumename instead of 0B utilization with non-physical volume
2016-08-09 08:51:19 +09:00
Kenjiro Nakayama
7dfc75ac9c
tiny: Add MHz to node-status output
2016-08-08 13:12:01 +09:00
Sean Chittenden
7566e8a04b
Improve the error messages when obtaining node and alloc stats
2016-06-17 13:24:10 -07:00
Alex Dadgar
fc8254d157
Update node-status docs
2016-06-16 14:50:41 -07:00
Alex Dadgar
e547f1a86d
use base 1024 for bytes not 1000
2016-06-12 14:20:39 -07:00
Alex Dadgar
a49bb31561
unify units
2016-06-12 11:19:45 -07:00
Alex Dadgar
974c713b4d
show allocation resources seperate from host
2016-06-12 11:19:45 -07:00
Alex Dadgar
61fcebf296
initial refactor and cleanup
2016-06-12 11:19:45 -07:00
Diptanu Choudhury
01054db4fa
Calculating total ticks consumed in the nomad client
2016-06-10 23:14:33 +02:00
Diptanu Choudhury
ef2d630ea4
Changed the logic of calculation of node cpu usage
2016-06-10 03:24:42 +01:00
Diptanu Choudhury
843d7e224e
Moving the stats error to the bottom of node status
2016-06-08 12:21:20 -04:00
Diptanu Choudhury
4a35ffa1ef
Indicating which values are percentages
2016-06-06 16:10:34 -07:00
Diptanu Choudhury
c21d606ebb
Getting inodes used percent back
2016-06-06 16:10:34 -07:00
Diptanu Choudhury
9db3b002b0
Showing detailed resource usage stats in alloc-stats
2016-06-06 16:10:34 -07:00
Diptanu Choudhury
1bf3280f95
Showing actual resource usage
2016-06-06 16:10:34 -07:00
Diptanu Choudhury
10b9eeef56
Added the stats flag
2016-06-06 16:10:34 -07:00
Diptanu Choudhury
d928d02d85
Removing inode percent since it doesn't work in some cases
2016-06-06 16:10:34 -07:00