Commit graph

986 commits

Author SHA1 Message Date
Seth Vargo 41eaf492f9
Migrate nodes APIs 2017-05-30 20:25:09 -04:00
Seth Vargo 2193721e59
Migrate JSON Jobs to new namespace 2017-05-30 20:25:08 -04:00
Seth Vargo cc636583d6
Migrate jobs APIs 2017-05-30 20:25:08 -04:00
Seth Vargo 7cc59d8f77
Migrate evaluations APIs 2017-05-30 20:25:08 -04:00
Seth Vargo 9e52c07fc7
Migrate client APIs 2017-05-30 20:25:07 -04:00
Seth Vargo e0ec7787a2
Migrate allocations APIs 2017-05-30 20:25:07 -04:00
Seth Vargo 8883972d70
Migrate agent APIs 2017-05-30 20:25:07 -04:00
Michael Schurter ffc2b36dc7 Merge pull request #2636 from hashicorp/f-gc-alloc-limit
Add new gc_max_allocs tuneable
2017-05-30 16:14:09 -07:00
Michael Schurter dd51aa1cb9 Merge pull request #2654 from hashicorp/f-env-consul
Add envconsul-like support and refactor environment handling
2017-05-30 14:40:14 -07:00
Michael Schurter d8f4a48a2c Merge pull request #2640 from hashicorp/b-remove-auto-advertise
Don't autoadvertise private ip if bind=localhost
2017-05-30 12:14:20 -07:00
Michael Schurter a7e26e0a3e Don't autoadvertise private ip if bind=localhost
A slight improvement to #2399 - if bind is localhost, return an error
instead of advertising a private ip. The advertised ip isn't valid and
will just cause errors on use. It's better to fail with an error message
instructing users how to fix the problem.
2017-05-30 11:47:29 -07:00
Michael Schurter eba4d9c592 Update docs to match gc_max_allocs default 2017-05-30 11:39:12 -07:00
Alex Dadgar 7e8bb15b2a Update artifact.html.md 2017-05-30 09:47:17 -07:00
Christian Winther e5b4a309bc correct arifact docs
It's not clear today that `destination`  *always* is a directory, and never a destination file

I've been bitten by this multiple times, as the docs today seem like it's possible to download remote file `x` and put it in dir `y` *and* rename the file to `z`
2017-05-30 12:37:52 +02:00
Michael Schurter 2e57f39915 Minor wording updates 2017-05-24 13:55:21 -07:00
Alex Dadgar 541241acc3 Update template.html.md 2017-05-24 09:54:22 -07:00
Michael Schurter bf0be17ddd Document env templates 2017-05-23 17:25:21 -07:00
Brandon Fulljames 694450314d Add security_opt to docs, alphabetize section 2017-05-19 17:04:28 -07:00
Alex Dadgar d5c0f9dc8b Merge pull request #2646 from derzufall/patch-1
Docu was misleading
2017-05-16 12:35:08 -04:00
Jeff Fraser 2f26887378 Small typo fix in vault stanza 2017-05-16 11:46:59 -04:00
Ni Br bf9ae7943b Docu was misleading
The actual parameter for go-getter is 'sshkey' and not 'sshkeys'. The current docu is wrong here... corrected this. kkthxbai
2017-05-16 17:01:10 +02:00
Michael Schurter 5fd438661d Merge pull request #2399 from multani/sockaddr-template
Add support for late binding to IP addresses using go-sockaddr/template
2017-05-11 17:25:03 -07:00
Michael Schurter 0453c2709c Add new gc_max_allocs tuneable
More than gc_max_allocs may be running on a node, but terminal allocs
will be garbage collected to try to keep the total number below the
limit.
2017-05-11 17:18:02 -07:00
Brian Shumate 4a75e2928a
DOCS: Update Scheduler Types page
- Update grammar
- Add link to Large-scale cluster management at Google with Borg
2017-05-10 12:45:23 -04:00
Michael Schurter 4a02815ead 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 85210eb92f Update consul/api to support unix socket addrs
Fixes #2594
2017-05-08 11:57:04 -07:00
Michael Schurter 95195daca2 Fix version constraint example in docs
Thanks @phinze!
2017-05-08 11:30:08 -07:00
Michael Schurter f350c1f37e 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 1e7e83451c Typeos 2017-05-04 10:24:50 -07:00
Michael Schurter 3e7fb10718 Fix upgrade instructions for docker load option 2017-05-04 10:15:42 -07:00
Alex Dadgar 1e3d1167a3 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 5c6932b54a
Remove evict 2017-05-03 18:45:27 -04:00
Brian Shumate 74f5229f48
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 9ae7459f27 important word change in docs. 2017-05-03 12:45:59 -07:00
Kate Taggart 6d469a8266 remove periods from things that aren't sentences. 2017-05-03 12:45:59 -07:00
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
Michael Schurter f85ad65530 Document verify_https_client 2017-05-02 17:38:12 -07: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