[Docs] Update output message of nomad node status

This commit is contained in:
Peter Dave Hello 2018-04-16 15:29:37 +08:00
parent 315564ae94
commit 564a9e592b
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,