From 52dcd6d9794576be2a15528ea48bf3fa09e7b215 Mon Sep 17 00:00:00 2001 From: Alexandr Burdiyan Date: Tue, 28 Mar 2017 12:08:35 +0200 Subject: [PATCH] Mention Nomad CLI remote usage Added information about `NOMAD_ADDR` environment variable for Nomad CLI remote usage. --- website/source/docs/commands/index.html.md.erb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/website/source/docs/commands/index.html.md.erb b/website/source/docs/commands/index.html.md.erb index 52a964bd0..ed835e6b7 100644 --- a/website/source/docs/commands/index.html.md.erb +++ b/website/source/docs/commands/index.html.md.erb @@ -37,3 +37,9 @@ status` command queries information about existing jobs, etc. Conversely, commands with a prefix in their name likely operate in a different context. Examples include the `nomad agent-info` or `nomad node-drain` commands, which operate in the agent or node contexts respectively. + +### Remote Usage + +You can use Nomad CLI from a different machine event without Nomad agent running on it. + +Make sure your remote agent exposes HTTP endoint (make sure you are in the trusted network, or set up TLS) and `NOMAD_ADDR` environment variable is set on your "external" machine, with the address of the remote agent.