Commit graph

34 commits

Author SHA1 Message Date
Preetha Appan 22ed9f1ad7
Nicer names 2018-02-12 12:19:16 -06:00
Preetha Appan e955e732be
Add check names to multiple checks example 2018-02-12 11:31:06 -06:00
Preetha Appan dd7fcdd3cf
Clarify that check names are auto generated. 2018-02-12 11:21:50 -06:00
Wim 6febe643f9 Update documentation 2018-02-01 14:25:14 +01:00
Wim db3bdfe898 * Change use_ipv6_address to advertise_ipv6_address.
* Set autoadvertise to true.
* Update documentation.
2018-02-01 00:01:25 +01:00
Wim 76f09db067 Service registration for IPv6 docker addresses 2018-01-30 17:07:47 +01:00
Michael Schurter 9fcda9c5aa Make example service name make sense
Switch from global-redis-check for the example job's service name to
redis-cache. The former name is really confusing and someone finally
called us out on it:

https://groups.google.com/d/msg/nomad-tool/3RTh6CyYkWk/vEe_Sj7lAAAJ

Also specifically mention that the `service.name` parameter is what is
advertised in Consul.
2018-01-17 14:08:30 -08:00
Michael Schurter 714eb0b266 Services should not require a port
Fixes #3673
2017-12-19 15:50:23 -08:00
Michael Schurter 0d472b6a41 Expand port and address_mode docs 2017-12-08 12:39:50 -08:00
Michael Schurter f88f587ce1 Add Using Driver Address Mode docs 2017-12-08 12:03:43 -08:00
Michael Schurter e930057e4a Document service/check address_mode/port changes 2017-12-08 12:03:43 -08:00
Preetha fa9f7df16e
Rewording for clarity 2017-11-17 08:38:55 -06:00
Preetha Appan 32e025e2ad Move service validation explanation doc 2017-11-16 16:58:37 -06:00
Michael Schurter 97b089d985 Cleanup versioning doc 2017-09-27 17:24:30 -07:00
Michael Schurter 77f1fe40e7 Properly autodetect Docker IP in Windows
Our Docker network plugin autodetection code was erroneously treating
Window's default network `nat` as a plugin and defaulting to it instead
of the host.

Fixes #3218
2017-09-27 16:49:23 -07:00
Michael Schurter 2251fb890e Move check_restart to its own section. 2017-09-14 16:48:39 -07:00
Michael Schurter 95c6077435 Document new check_restart stanza 2017-09-14 16:46:54 -07:00
Michael Schurter b1fa005656 Document check header and method 2017-08-17 16:49:14 -07:00
Charlie Voiselle 3cff38ff94 Spellcheck sweep of website directory
Caught some typos.  Made units separate from the numbers 1GHz -> 1 GHz
after talking to Nick about questions of style (this has the side effect of making future spell checking easier).
2017-07-17 14:41:50 -04:00
Alex Dadgar b706b872d5 Merge pull request #2755 from hashicorp/sethvargo/docs-updates
Update docs notes
2017-07-06 10:02:38 -07:00
Seth Vargo 73b2f8e1ec
Document context of service checks
Fixes GH-1935
2017-06-29 16:54:23 +08:00
Michael Schurter 817554eb9d Document address_mode 2017-06-21 17:19:08 -07:00
Michael Schurter a1eaa6cea1 Document tls_skip_verify 2017-04-19 12:45:34 -07:00
Michael Schurter e204a287ed Refactor Consul Syncer into new ServiceClient
Fixes #2478 #2474 #1995 #2294

The new client only handles agent and task service advertisement. Server
discovery is mostly unchanged.

The Nomad client agent now handles all Consul operations instead of the
executor handling task related operations. When upgrading from an
earlier version of Nomad existing executors will be told to deregister
from Consul so that the Nomad agent can re-register the task's services
and checks.

Drivers - other than qemu - now support an Exec method for executing
abritrary commands in a task's environment. This is used to implement
script checks.

Interfaces are used extensively to avoid interacting with Consul in
tests that don't assert any Consul related behavior.
2017-04-19 12:42:47 -07:00
Alex Dadgar 1068c35d33 Fix example 2016-11-16 14:44:55 -08:00
Seth Vargo 4a1fa67f26
Separate agent configuration into its own pages
I apologize in advance for the rather long PR, but unfortunately there
is not an easy way to break this up into smaller chunks. This separates
the agent configuration into smaller, more consumable pieces just like
the job specification.
2016-11-02 18:30:00 -04:00
Seth Vargo 375211d4c9
Fix example 2016-10-31 16:53:17 -04:00
Seth Vargo 7cf2ab7f58
Capital HTTP 2016-10-31 16:53:16 -04:00
Seth Vargo 12c8f3e9f3
Wrap line 2016-10-31 16:53:16 -04:00
Seth Vargo 348d5ec92c
Add port to service 2016-10-31 16:53:16 -04:00
Seth Vargo 907572c37a
To discus and discuss we will begin discussion 2016-10-31 16:53:15 -04:00
Seth Vargo abda6cc8cf
Update service description 2016-10-31 16:53:15 -04:00
Seth Vargo 613d1d685b
Add service SEO description 2016-10-31 16:52:56 -04:00
Seth Vargo 77416c85b9
Give service its own configuration 2016-10-31 16:52:54 -04:00