From 564a9e592bb88b4339d1271226c78fe5e77edd08 Mon Sep 17 00:00:00 2001 From: Peter Dave Hello Date: Mon, 16 Apr 2018 15:29:37 +0800 Subject: [PATCH] [Docs] Update output message of `nomad node status` --- website/source/docs/commands/node/status.html.md.erb | 12 ++++++------ website/source/guides/securing-nomad.html.md | 4 ++-- website/source/intro/getting-started/cluster.html.md | 6 +++--- website/source/intro/getting-started/running.html.md | 4 ++-- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/website/source/docs/commands/node/status.html.md.erb b/website/source/docs/commands/node/status.html.md.erb index 91c94b9a1..f3713e045 100644 --- a/website/source/docs/commands/node/status.html.md.erb +++ b/website/source/docs/commands/node/status.html.md.erb @@ -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 false eligible ready +1f3f03ea dc1 node2 false eligible ready ``` List view, with running allocations: ``` $ nomad node status -allocs -ID DC Name Class Drain Status Running Allocs -4d2ba53b dc1 node1 false ready 1 -34dfba32 dc1 node2 false ready 3 +ID DC Name Class Drain Eligibility Status Running Allocs +4d2ba53b dc1 node1 false eligible ready 1 +34dfba32 dc1 node2 false eligible ready 3 ``` Single-node view in short mode: diff --git a/website/source/guides/securing-nomad.html.md b/website/source/guides/securing-nomad.html.md index c5ab6b937..98fdd1a2f 100644 --- a/website/source/guides/securing-nomad.html.md +++ b/website/source/guides/securing-nomad.html.md @@ -326,8 +326,8 @@ respond as expected: ```text $ nomad node status -ID DC Name Class Drain Status -237cd4c5 dc1 nomad false ready +ID DC Name Class Drain Eligibility Status +237cd4c5 dc1 nomad false eligible ready $ nomad job init Example job file written to example.nomad diff --git a/website/source/intro/getting-started/cluster.html.md b/website/source/intro/getting-started/cluster.html.md index 5ffc2fd62..7ba2e0c51 100644 --- a/website/source/intro/getting-started/cluster.html.md +++ b/website/source/intro/getting-started/cluster.html.md @@ -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 false ready -c887deef dc1 client2 false ready +ID DC Name Class Drain Eligibility Status +fca62612 dc1 client1 false eligible ready +c887deef dc1 client2 false eligible ready ``` We now have a simple three node cluster running. The only difference diff --git a/website/source/intro/getting-started/running.html.md b/website/source/intro/getting-started/running.html.md index 49e498fcc..2a66ef91d 100644 --- a/website/source/intro/getting-started/running.html.md +++ b/website/source/intro/getting-started/running.html.md @@ -82,8 +82,8 @@ $ vagrant ssh ... $ nomad node status -ID Datacenter Name Class Drain Status -171a583b dc1 nomad false ready +ID DC Name Class Drain Eligibility Status +171a583b dc1 nomad false eligible ready ``` The output shows our Node ID, which is a randomly generated UUID,