Commit graph

949 commits

Author SHA1 Message Date
Kate Taggart f6236dec34 mention the two newly available env vars in the docs. 2017-05-03 12:45:59 -07:00
Alex Dadgar b2f692ff42 better change_mode explanation for templates 2017-05-03 12:40:27 -07:00
Aaron Kunz 455ef8a8f5 Fix typo 2017-05-03 19:45:03 +02:00
Alex Dadgar d9f83658b4 fix old arch 2017-05-01 17:36:20 -07:00
Bill Anderson 851d20248f Update constraint.html.md
Fix Distinct Constraint header
2017-04-24 11:31:20 -04: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 1f817b6a50 Merge pull request #2566 from hashicorp/f-job-versions
Track multiple job versions and introduce a stop state for jobs
2017-04-19 11:11:11 -07:00
Michael Schurter 772f301b6b Mention required cli config when using tls
Fixes #2571
2017-04-18 09:04:06 -07:00
Alex Dadgar 5a08ea7801 Document fix 2017-04-17 20:53:15 -07:00
Alex Dadgar 7c4ecf0858 API Docs 2017-04-16 16:58:48 -07:00
Alex Dadgar 3145086a42 non-purge deregisters 2017-04-15 17:08:05 -07:00
vrenjith d3835a002f Update java.html.md 2017-04-13 12:05:37 +05:30
Alex Dadgar e0f8c90b93 Make logging clearer 2017-04-11 12:34:09 -07:00
Alex Dadgar cdd624ff5b Add ExtraHosts to Docker driver
This PR allows job submitters to add extra hosts to the containers
/etc/hosts file.

Fixes https://github.com/hashicorp/nomad/issues/2546
2017-04-11 10:52:41 -07:00
Alex Dadgar 5fa6a23f01 small doc change 2017-04-10 12:35:41 -07:00
Diptanu Choudhury a96018fccc Fixed typo 2017-04-10 11:45:11 -07:00
Diptanu Choudhury 37f4cf8c5e Added docs 2017-04-10 11:27:32 -07:00
Alex Dadgar d2a64d3fd3 wording 2017-04-07 13:02:02 -07:00
Alex Dadgar 81188906a5 Merge pull request #2535 from clinta/docker-ip
Allow specifying container IP with docker driver
2017-04-07 12:59:12 -07:00
Clint Armstrong c46ec657e3 Update docs to clarify that user defined networks are required 2017-04-07 15:58:16 -04:00
Alex Dadgar 7bb75abda3 Fix documentation around ephemeral disk.
Fixes https://github.com/hashicorp/nomad/issues/2530
2017-04-07 12:49:53 -07:00
Clint Armstrong d71ddcb756 Allow specifying container IP with docker driver 2017-04-07 11:56:07 -04:00
Mitchell Hashimoto d31af97709 Update dispatch_payload.html.md 2017-04-06 12:53:47 -07:00
Alex Dadgar 81b78f77e1 Track task start/finish time & improve logs errors
This PR adds tracking to when a task starts and finishes and the logs
API takes advantage of this and returns better errors when asking for
logs that do not exist.
2017-03-31 16:14:11 -07:00
Cameron Stokes 02f8bc8080 Grammar fix. 2017-03-29 11:49:09 -07:00
vrenjith b78474b7a1 Update task.html.md 2017-03-29 00:06:47 +05:30
vrenjith d494897000 disk is not a supported entry at task level
Removed the reference to `disk` in the `resources` overview statement
2017-03-29 00:05:17 +05:30
Alex Dadgar 3b493b29b0 Merge pull request #2488 from hashicorp/f-node-values-template
Access Node Meta and Attrs in template
2017-03-28 11:10:29 -07:00
Alex Dadgar 55046ffa02 remote cli 2017-03-28 09:47:57 -07:00
Alexandr Burdiyan 90af58f392 Mention Nomad CLI remote usage
Added information about `NOMAD_ADDR` environment variable for Nomad CLI remote usage.
2017-03-28 12:08:35 +02:00
Alex Dadgar 23562d77c9 Access Node Meta and Attrs in template
This PR allows accessing the Node's attributes and metadata as in a
template.

```
template {
    data = "{{ env \"attr.unique.network.ip-address\" }}"
    destination = "local/out"
}
```
2017-03-27 15:15:33 -07:00
Michael Schurter 8af76ef796 Merge pull request #2483 from hashicorp/docs-artifact-source
Remove incorrect list of supported protocols
2017-03-27 15:12:56 -07:00
Alex Dadgar 68650f78b9 Merge branch 'master' of github.com:hashicorp/nomad 2017-03-27 11:44:58 -07:00
Alex Dadgar 7d74fb60ea Fix update docs 2017-03-27 11:44:46 -07:00
Alex Dadgar b364c2f1e6 Merge pull request #2471 from lnguyen/git_docs
added git docs to artifacts
2017-03-27 11:37:35 -07:00
Alex Dadgar 830d025755 Merge pull request #2485 from Sonna/patch-1
Fix typo in documentation link
2017-03-27 11:30:26 -07:00
Alex Dadgar c9731671ad more verbose documentation on role based vault integration 2017-03-27 11:26:18 -07:00
Alex Dadgar 1402e32c0a document attr.unique.network.ip-address in common list 2017-03-27 10:45:16 -07:00
Alex Sonneveld 1e7a230d25 Remove localhost URL in nomad plan command link
Remove the reference to `http://localhost:4567` within the Rolling Update
strategy documentation and fix the link to the `nomad plan` command
documentation.
2017-03-27 12:00:38 +11:00
Michael Schurter 05d42c73a8 Remove incorrect list of supported protocols
The correct list is like 5 lines up
2017-03-24 15:37:17 -07:00
Chris Spence f177e6b0f6 Wrong shell variable used when changing directory 2017-03-24 15:27:32 +00:00
Long Nguyen 1376773a3a added git docs to artifacts 2017-03-22 16:50:45 -04:00
Michael Schurter c9641dbc67 Mention 0.5.5 tool incompat with 0.5.4 agents 2017-03-20 16:20:43 -07:00
sprutner 6b06939f6a Update index.html.md
grammar
2017-03-20 13:48:04 -07:00
Michael Schurter a22bf82596 Mention #2361 in upgrade notes. 2017-03-17 09:52:18 -07:00
Sean Chittenden 33019eca7c
Tweak docs to note that a port will wire up both a TCP and UDP port. 2017-03-15 16:10:01 -07:00
Alex Dadgar 9bfeac3c1d Update the vault config on website 2017-03-15 16:08:15 -07:00
Alex Dadgar 23c4030fc4 Fix some website stuff 2017-03-15 11:29:36 -07:00
Alex Dadgar 177bd14718 rename cpu_total_compute and docs 2017-03-14 14:15:49 -07:00