Merge pull request #4158 from PeterDaveHello/docs-update-node-status-output

[Docs] Update output message of `nomad node status`
This commit is contained in:
Alex Dadgar 2018-04-16 09:48:45 -07:00 committed by GitHub
commit 44f0e341f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 13 additions and 13 deletions

View File

@ -56,18 +56,18 @@ List view:
```
$ nomad node status
ID DC Name Drain Status
a72dfba2 dc1 node1 false ready
1f3f03ea dc1 node2 false ready
ID DC Name Class Drain Eligibility Status
a72dfba2 dc1 node1 <none> false eligible ready
1f3f03ea dc1 node2 <none> false eligible ready
```
List view, with running allocations:
```
$ nomad node status -allocs
ID DC Name Class Drain Status Running Allocs
4d2ba53b dc1 node1 <none> false ready 1
34dfba32 dc1 node2 <none> false ready 3
ID DC Name Class Drain Eligibility Status Running Allocs
4d2ba53b dc1 node1 <none> false eligible ready 1
34dfba32 dc1 node2 <none> false eligible ready 3
```
Single-node view in short mode:

View File

@ -326,8 +326,8 @@ respond as expected:
```text
$ nomad node status
ID DC Name Class Drain Status
237cd4c5 dc1 nomad <none> false ready
ID DC Name Class Drain Eligibility Status
237cd4c5 dc1 nomad <none> false eligible ready
$ nomad job init
Example job file written to example.nomad

View File

@ -142,9 +142,9 @@ we should see both nodes in the `ready` state:
```text
$ nomad node status
ID Datacenter Name Class Drain Status
fca62612 dc1 client1 <none> false ready
c887deef dc1 client2 <none> false ready
ID DC Name Class Drain Eligibility Status
fca62612 dc1 client1 <none> false eligible ready
c887deef dc1 client2 <none> false eligible ready
```
We now have a simple three node cluster running. The only difference

View File

@ -82,8 +82,8 @@ $ vagrant ssh
...
$ nomad node status
ID Datacenter Name Class Drain Status
171a583b dc1 nomad <none> false ready
ID DC Name Class Drain Eligibility Status
171a583b dc1 nomad <none> false eligible ready
```
The output shows our Node ID, which is a randomly generated UUID,