Commit Graph

961 Commits

Author SHA1 Message Date
Michael Schurter
c778fce086 Merge pull request #2622 from hashicorp/f-2594-support-consul-unix
Update consul/api to support unix socket addrs
2017-05-08 15:22:34 -07:00
Michael Schurter
78af600070 Update consul/api to support unix socket addrs
Fixes #2594
2017-05-08 11:57:04 -07:00
Michael Schurter
d9882e66aa Fix version constraint example in docs
Thanks @phinze!
2017-05-08 11:30:08 -07:00
Michael Schurter
d7f95245ec Merge pull request #2608 from hashicorp/f-test-verify_https_client
Test verify_https_client behavior and skip Consul HTTPS health checks when enabled
2017-05-04 17:36:13 -07:00
Michael Schurter
f1eac410ec Typeos 2017-05-04 10:24:50 -07:00
Michael Schurter
80af7d1338 Fix upgrade instructions for docker load option 2017-05-04 10:15:42 -07:00
Alex Dadgar
ec3aec5506 Merge pull request #2507 from hashicorp/f-task-env-vars
Add env vars for dc, region
2017-05-03 17:22:43 -07:00
Brian Shumate
96fac81676 Remove evict 2017-05-03 18:45:27 -04:00
Brian Shumate
17b20de71f Docs: Update node-status page
- Add details about Desired Status and Client Status for #264
2017-05-03 17:46:06 -04:00
Kate Taggart
0c293d27f6 important word change in docs. 2017-05-03 12:45:59 -07:00
Kate Taggart
4a4e48ca82 remove periods from things that aren't sentences. 2017-05-03 12:45:59 -07:00
Kate Taggart
9eac667642 mention the two newly available env vars in the docs. 2017-05-03 12:45:59 -07:00
Alex Dadgar
9a4f8a6de6 better change_mode explanation for templates 2017-05-03 12:40:27 -07:00
Aaron Kunz
4e11242225 Fix typo 2017-05-03 19:45:03 +02:00
Michael Schurter
731995e34b Document verify_https_client 2017-05-02 17:38:12 -07:00
Alex Dadgar
93d7626ac5 fix old arch 2017-05-01 17:36:20 -07:00
Bill Anderson
81e74ada8c Update constraint.html.md
Fix Distinct Constraint header
2017-04-24 11:31:20 -04:00
Michael Schurter
a5dcf6bbd9 Document tls_skip_verify 2017-04-19 12:45:34 -07:00
Michael Schurter
10cb924b2c 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
e281c97624 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
b54c248feb Mention required cli config when using tls
Fixes #2571
2017-04-18 09:04:06 -07:00
Alex Dadgar
8ad95182a0 Document fix 2017-04-17 20:53:15 -07:00
Alex Dadgar
000f42a427 API Docs 2017-04-16 16:58:48 -07:00
Alex Dadgar
950171f094 non-purge deregisters 2017-04-15 17:08:05 -07:00
vrenjith
f5170ed9c3 Update java.html.md 2017-04-13 12:05:37 +05:30
Alex Dadgar
c005d29fc1 Make logging clearer 2017-04-11 12:34:09 -07:00
Alex Dadgar
8d07bd8f9c 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
0d2e99b887 small doc change 2017-04-10 12:35:41 -07:00
Diptanu Choudhury
b0a20b4dc9 Fixed typo 2017-04-10 11:45:11 -07:00
Diptanu Choudhury
2073eaf2be Added docs 2017-04-10 11:27:32 -07:00
Alex Dadgar
db11e7dd7b wording 2017-04-07 13:02:02 -07:00
Alex Dadgar
3a9763aac6 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
976f58b23c Update docs to clarify that user defined networks are required 2017-04-07 15:58:16 -04:00
Alex Dadgar
8bcc8f4db8 Fix documentation around ephemeral disk.
Fixes https://github.com/hashicorp/nomad/issues/2530
2017-04-07 12:49:53 -07:00
Clint Armstrong
5f4716b4ea Allow specifying container IP with docker driver 2017-04-07 11:56:07 -04:00
Mitchell Hashimoto
aa6d74f26f Update dispatch_payload.html.md 2017-04-06 12:53:47 -07:00
Alex Dadgar
d212f6fe94 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
a8b836beec Grammar fix. 2017-03-29 11:49:09 -07:00
vrenjith
57673dc62a Update task.html.md 2017-03-29 00:06:47 +05:30
vrenjith
90f8bae938 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
3750f97ac6 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
6d2e380e27 remote cli 2017-03-28 09:47:57 -07:00
Alexandr Burdiyan
52dcd6d979 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
63978511be 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
d126741ebd 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
dd2d419e34 Merge branch 'master' of github.com:hashicorp/nomad 2017-03-27 11:44:58 -07:00
Alex Dadgar
d8936bdafa Fix update docs 2017-03-27 11:44:46 -07:00
Alex Dadgar
7b9bf4ff0c Merge pull request #2471 from lnguyen/git_docs
added git docs to artifacts
2017-03-27 11:37:35 -07:00
Alex Dadgar
97d243b55e Merge pull request #2485 from Sonna/patch-1
Fix typo in documentation link
2017-03-27 11:30:26 -07:00
Alex Dadgar
06b03056c2 more verbose documentation on role based vault integration 2017-03-27 11:26:18 -07:00