Commit graph

1269 commits

Author SHA1 Message Date
johannesa c3f4b1a2ee Added snippet for mac address in docs 2017-05-17 16:48:51 +02: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
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
Jonathan Ballet 9afcea7426 Update doc to explain support for go-sockaddr/template format 2017-03-22 09:05:19 +01: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
Alex Dadgar 2a105c4eaa Merge pull request #2427 from hashicorp/f-gc-limit
Limit parallelism during garbage collection
2017-03-14 10:45:29 -07:00
Christian Winther b12323f08c Fix #2445
Close #2445 - typo in docs
2017-03-14 10:12:48 +01:00
Michael Schurter a116d6441d Merge pull request #2426 from hashicorp/f-tg-port-ip-env-var
Add NOMAD_{IP,PORT}_<task>_<label> env vars
2017-03-13 12:00:59 -07:00
Alex Dadgar df87e8d255 documentation 2017-03-11 16:18:01 -08:00
Alex Dadgar 9c71e48eae Merge pull request #2428 from hashicorp/telemetry-docs
Added docs for the collection_interval option in the telemetry block
2017-03-11 13:52:24 -08:00
Diptanu Choudhury 53d7ec02fd Added docs for the collection_interval option in the telemetry block 2017-03-10 16:33:25 -08:00
Alex Dadgar 70e4feb045 Limit parallelism during garbage collection
This PR introduces a parallelism limit during garbage collection. This
is used to avoid large resource usage spikes if garbage collecting many
allocations at once.
2017-03-10 16:27:00 -08:00
Michael Schurter 71783e8e41 Add NOMAD_{IP,PORT}_<task>_<label> env vars 2017-03-10 12:17:43 -08:00
Michael Schurter 9cb743bd31 Update documentation now that cleaning is more extensive 2017-03-09 17:12:10 -08:00
Michael Schurter 7d099b952e Draw attention to env var sanitizing 2017-03-07 08:55:37 -08:00
Michael Schurter ca0b19a050 Add documentation and changelog entry 2017-03-06 20:05:05 -08:00
Sergey Mezentsev 0078af8b08 Remove 'disk space' from docs 2017-03-04 22:54:49 +03:00
Alex Dadgar 0124ba1406 Fix docs and script 2017-03-03 16:00:39 -08:00
Alex Dadgar e07a337a8d Fix mbits default on website 2017-03-01 16:36:59 -08:00
Alex Dadgar af4e400b36 Update go-getter and add support for git and hg
Fixes https://github.com/hashicorp/nomad/issues/2042
2017-03-01 14:46:04 -08:00
Alex Dadgar eaaa259812 Merge pull request #2379 from Gerrrr/doc/latest-tag
Add caveat about always pulling latest tag to docker driver docs
2017-03-01 10:09:38 -08:00
Aleksandr Sorokoumov e05b7b7e3a Add caveat about always pulling latest tag to docker driver docs 2017-03-01 00:25:57 +01:00
Alex Dadgar e21792091a remove leading slash on vault path 2017-02-28 14:03:18 -08:00
Alex Dadgar 9c91550926 Add lookup-self 2017-02-28 13:46:38 -08:00
jmvacdmon 1f540462e5 change example to logging docker driver 2017-02-28 13:51:36 +01:00
Alex Dadgar 927663d284 Merge pull request #2371 from crokita/patch-1
Fix syntax of docker.cleanup.image example
2017-02-27 13:53:04 -08:00
Alex Dadgar 6910678c21 Allow random UUID 2017-02-27 13:42:37 -08:00
Chris b4d9714328 Fix syntax of docker.cleanup.image example
I found this syntax issue because I copy-pasted the snippet into my config file and attempted to run Nomad with it. Whoops
2017-02-27 16:34:43 -05:00
Alex Dadgar 6afcba9e22 Allow specification of eval/job gc threshold 2017-02-27 11:58:10 -08:00
Alex Dadgar 10edf881fc More auth docs 2017-02-27 11:02:01 -08:00
Alex Dadgar 529993eaa9 links 2017-02-27 09:40:55 -08:00
Alex Dadgar aa05ecc37c Merge pull request #2361 from hashicorp/f-docker-coordination
Docker Image Coordinator and caching
2017-02-24 14:18:21 -08:00
Alex Dadgar b5d4f39734 Docker Image Coordinator
This PR introduces a coordinator for doing CRUD on a Docker image. It
should fix racy deletion of images. The issue before was images would be
deleted between prestart and start causing an error.
2017-02-24 13:20:40 -08:00
Michael Schurter f61b7975a3 Put access to Docker volume drivers behind flag 2017-02-23 15:47:36 -08:00
Pietro Menna 12367ce646 Improved documentation for Docker Volume Drivers
Incorporated comments from @schmichael
2017-02-23 16:01:27 -03:00
Pietro Menna 2f88d6cb68 Docker Volume Drivers
This commit adds the functionality to use Docker Volume Drivers.
2017-02-23 14:36:32 -03:00
Alex Dadgar cef7882827 Fix tests and docs 2017-02-22 18:28:07 -08:00
James Nugent 74d363d342 docs: Add note about max_kill_timeout to tasks
This commit makes an explicit note in the documentation for the Nomad
task specification about capping of `max_kill_timeout` based on agent
configuration as well as task configuration.
2017-02-21 22:03:10 -06:00
Alex Dadgar d0fd0e277a Don't force uppercase meta keys in env vars 2017-02-20 19:51:24 -08:00
Alex Dadgar b49fceb491 rebase 2017-02-20 16:43:28 -08:00
Alex Dadgar b67c59f03c Merge branch 'master' into refactor-parser 2017-02-20 15:13:21 -08:00
Alex Dadgar 10735d1c0f Merge pull request #2321 from hashicorp/f-timezone
Allow specification of timezones in Periodic Jobs
2017-02-17 11:32:14 -08:00
Alex Dadgar 1a4f09387f Docs 2017-02-16 18:42:53 -08:00
Alex Dadgar 92419929a8 Fix embedded meta in dispatch response 2017-02-16 15:47:36 -08:00
Diptanu Choudhury b8e0185513 Added docs 2017-02-16 13:52:39 -08:00
Alex Dadgar 7e918003ba Allow specification of timezones 2017-02-15 14:37:06 -08:00
Alex Dadgar b6357f96c5 Merge pull request #2308 from hashicorp/f-leader-task
Leader task
2017-02-14 11:03:32 -08:00
Alex Dadgar 89fea63a53 Merge pull request #2305 from hashicorp/f-operator
Add nomad operator command for interacting with Raft configuration
2017-02-14 11:01:41 -08:00
Alex Dadgar 221277aa06 Respond to feedback 2017-02-14 11:01:12 -08:00
Alex Dadgar d6d2884125 Documentation 2017-02-13 10:18:34 -08:00
Jonathan Lima be98af8526 Improve interpolation docs 2017-02-12 01:47:17 -02:00
Alex Dadgar 238b4bcafd Add Leader support to client 2017-02-10 17:55:19 -08:00
Alex Dadgar b1cd81e997 Remove todos 2017-02-10 15:41:23 -08:00
Alex Dadgar 009bd88e2f Add outage guide and move bootstrapping 2017-02-10 15:30:34 -08:00
Alex Dadgar 2d4d9b79d8 Operator command/endpoint/documentation 2017-02-09 18:04:46 -08:00
Seth Vargo 675b7f7fc1
Fix comments on parameterized jobs 2017-02-06 13:59:07 -05:00
Tom Clegg 0b3372c064 fix typo 2017-02-05 12:12:15 -08:00
Alex Dadgar e6863e4c01 reloads 2017-02-03 16:12:21 -08:00
Alex Dadgar 253f835667 Merge branch 'f-permissions' of github.com:hashicorp/nomad into f-permissions 2017-02-02 11:28:24 -08:00
Alex Dadgar 1a960ee5cd Grammar fix 2017-02-02 11:28:04 -08:00
Alex Dadgar b40f284bd1 Merge branch 'master' into f-permissions 2017-02-01 16:57:46 -08:00
Michael Schurter bc02869347 Expand rkt port_map docs since it confused me
(and I wrote it)

Fixes #2272
2017-02-01 16:16:12 -08:00
Alex Dadgar 6b7efa1ba6 Template destination file permissions.
This PR allows setting the file permissions of the rendered template.
2017-01-31 20:10:01 -08:00
Diptanu Choudhury 501f675265 Added docs 2017-01-31 16:30:50 -08:00
Alex Dadgar 60ff3d37b4 Fix link 2017-01-30 11:13:05 -08:00
Alex Dadgar 83106de217 Merge branch 'master' into d-vault 2017-01-27 15:19:34 -08:00
Alex Dadgar 493454b6fc small fixes 2017-01-27 15:10:59 -08:00
Alex Dadgar 183d0bdd15 Cleanup and skip test 2017-01-27 15:06:01 -08:00
Alex Dadgar 08a32cb93c Add command line flag for create-from-role 2017-01-27 14:11:34 -08:00
Alex Dadgar 817805bdcf new vault docs 2017-01-27 12:24:59 -08:00
James Rasell 46c4e6f9e3 Update the 'requirements.html.md' cluster docs with 'Ports Used'.
This adds a section detailing the ports and protocols used by
Nomad in a similar way to the Consul docs which can be seen
'https://www.consul.io/docs/agent/options.html#ports'.
2017-01-27 11:55:31 +00:00
Alex Dadgar 07fdf9b987 BC warning 2017-01-26 13:25:55 -08:00
Alex Dadgar 9c3d38a645 Respond to comments 2017-01-26 11:34:44 -08:00
Alex Dadgar 1acf7240d9 Children api 2017-01-25 22:27:15 -08:00
Alex Dadgar c9614a1405 Status examples 2017-01-25 22:21:51 -08:00
Alex Dadgar 9dc4737394 move file 2017-01-25 22:16:20 -08:00
Alex Dadgar 0108308e26 JSON job 2017-01-25 22:15:00 -08:00
Alex Dadgar 3b98c22d86 API 2017-01-25 21:35:53 -08:00
Alex Dadgar 7e5679c321 alphabetical 2017-01-25 21:27:44 -08:00
Alex Dadgar 3e35f453e4 Rename meta/parsing 2017-01-25 21:27:44 -08:00
Alex Dadgar 4cfeefd4a5 Fix bad link 2017-01-25 21:27:44 -08:00
Alex Dadgar 963521c66c dispatch_payload 2017-01-25 21:27:44 -08:00
Alex Dadgar 05628dbf24 Parameterized page 2017-01-25 21:27:44 -08:00
Alex Dadgar c4c94de96e Dispatch command 2017-01-25 21:27:44 -08:00
Alex Dadgar a1fef22a04 Update template json docs 2017-01-24 09:12:42 -08:00
Igor Yamolov 6964f27d3c Add template reference to task object documentation 2017-01-24 16:54:13 +03:00
Igor Yamolov 7a17d22a51 Add template to JSON objects documentation
Closes #2237
2017-01-24 16:47:48 +03:00
Michael Schurter 5a25d49a9b Merge pull request #2234 from hashicorp/f-doc-template-env-var
Mention nomad's runtime environment being available now
2017-01-23 17:28:02 -08:00
Michael Schurter a1f0404a45 Try to use more useful example env vars 2017-01-23 17:02:23 -08:00
Alex Dadgar a9aa992f0c Merge pull request #2235 from hashicorp/f-http-logs
Logs via a browser
2017-01-23 16:59:37 -08:00
Alex Dadgar c61f8d2526 Review feedback 2017-01-23 16:58:53 -08:00
Alex Dadgar 9152477890 docs 2017-01-23 16:08:26 -08:00
Michael Schurter d7c6ff58dd Mention nomad's runtime environment being available now 2017-01-23 15:54:56 -08:00
Michael Schurter a24f739c08 Add example of env vars in templates 2017-01-23 15:50:38 -08:00
Diptanu Choudhury 264a0c46cf Merge pull request #2223 from hashicorp/f-env-addr
Setting the Addrs of sibling tasks in the env
2017-01-23 15:05:48 -08:00
Diptanu Choudhury a79754c996 Added docs 2017-01-23 15:05:18 -08:00
Michael Schurter 856c1d540b Merge pull request #2232 from hashicorp/b-clarify-go-getter
Remove misleading "any URL as defined by go-getter" doc
2017-01-23 15:04:34 -08:00
Michael Schurter 1b80e15888 Add more details to the source doc 2017-01-23 15:00:22 -08:00
Alex Dadgar 606bb30863 Merge pull request #2226 from hashicorp/b-vault
Improve Vault integration and validation
2017-01-23 14:59:41 -08:00
Michael Schurter 496f125840 Remove misleading "any URL as defined by go-getter" doc 2017-01-23 14:55:37 -08:00
Alex Dadgar ee5296ba70 Deprecation notice 2017-01-23 11:32:51 -08:00
Alex Dadgar 3365688571 Remove SSL 2017-01-23 11:32:51 -08:00
Alex Dadgar 5d07eaa534 Wording 2017-01-23 10:51:57 -08:00
Theo 65bf720204 Clarify that exec copies all chroot_env directories
This was not clear to me and is very important to understand since you can quickly fill up your disk if you run batch jobs.
2017-01-23 08:13:27 +01:00
Alex Dadgar dd4b959df9 update website 2017-01-21 17:53:30 -08:00
Alex Dadgar d949665010 Merge pull request #2199 from hashicorp/f-jars
Support setting class_path and class name.
2017-01-17 15:25:47 -08:00
Troy Swanson 47c370985c s/acess/access 2017-01-16 14:35:14 -06:00
Alex Dadgar 78deb8b292 Support setting class_path and class name.
This PR enhances the java driver to allow setting the class path and
class name to run. It also fixes an issue that would make the Java
driver attempt to chroot regardless of operating system (this never
effected a released version of Nomad).
2017-01-13 16:03:11 -08:00
Cameron Davison 88a462d5b9
add force_pull to docker driver 2017-01-10 16:54:01 -06:00
Alex Dadgar 669dd0bd9a Add better docs for destination 2017-01-09 15:38:04 -08:00
Andrew Svoboda c46594534a Update network.html.md
Update typo
2017-01-06 17:32:24 -08:00
Diptanu Choudhury 5163e0fa94 Updated docs for /job/allocations endpoint 2017-01-06 11:44:49 -08:00
Alex Dadgar 675855b8c2 Fix documentation for interpolating attrs/meta
This PR fixes the website documentation to correctly present the way of
specifying constraints on node meta and attributes.
2017-01-03 13:25:56 -08:00
Alex Dadgar 86b1196906 Update commands on website 2017-01-03 13:22:02 -08:00
Jorge Marey 189a49b74d Add option to set nodename instead of hostname on telemetry values 2016-12-21 09:53:29 +01:00
Alex Dadgar 746d4c7ee3 Small cleanups 2016-12-19 14:22:08 -08:00
Alex Dadgar 18739a4433 Merge pull request #1980 from dmexe/network-aliases
Add network_aliases for docker driver
2016-12-19 14:17:48 -08:00
Alex Dadgar 797bd3013f Merge pull request #2125 from pgporada/master
Updated docker doc to remove useless word
2016-12-19 12:45:54 -08:00
Alex Dadgar 9ddadf0209 update eval example 2016-12-19 10:16:49 -08:00
Phil Porada c8199fb404 Removed useless word 2016-12-16 16:57:58 -05:00
Diptanu Choudhury 38122b2d7e Merge pull request #2109 from justinwalz/json_docs_vault
add vault example for JSON api
2016-12-14 19:02:04 -08:00
Justin Walz 7e7c201d22 add vault example for JSON api 2016-12-14 16:49:38 -08:00
Rafael Zanella 69994ac633 Added example for the Reserved field
https://github.com/zanella/nomad-api/pull/4
2016-12-14 09:58:52 -02:00
Brian Shumate 448d6eec89
Remove admonition about server-members command 2016-12-13 11:11:26 -05:00
Michael Schurter 5f8137d993 Document rkt --dns={host,none} 2016-12-12 10:59:56 -08:00
Samuel BERTHE 8530981c72 doc(interpolation): More explicit 2016-12-09 10:24:30 +01:00
Seth Vargo abf2ec76cc Merge pull request #2073 from hashicorp/sethvargo/meta
Fix broken meta links
2016-12-08 11:30:36 -08:00
Seth Vargo 24ba6119b1
Fix broken meta links 2016-12-08 10:45:33 -08:00
Seth Vargo 358ab96a47
Client meta is a map[string]string 2016-12-08 10:35:40 -08:00
julienlevasseur 7a79dbfb7a Correct a grammar typo
a "the a" was still on text, certainly after an hesitation from author.
Keep the "a" form, as it's more general.
2016-11-29 16:44:37 -05:00
Michael Schurter efa8abce0b Mention client level user configs 2016-11-28 13:14:32 -08:00
Michael Schurter b0477c9d48 Fix user docs 2016-11-28 13:14:32 -08:00
Alex Dadgar a26f52febd Fix typo in telemetry documentation.
Fixes #2008
2016-11-18 11:11:45 -08:00
Seth Vargo 15cfaaf59d
Fix duplicate meta description 2016-11-17 16:55:35 -05:00
Seth Vargo 3aba171946
Align = 2016-11-17 13:06:05 -05:00
Seth Vargo e79e67b58b
Use list instead of table 2016-11-17 13:05:55 -05:00
Seth Vargo 2d432cc63a
Use shell instead of sh 2016-11-17 13:05:14 -05:00
Seth Vargo 14e94de46d
Organize examples into section 2016-11-17 13:04:52 -05:00
Seth Vargo 6769717695
Fix JSON spacing 2016-11-17 13:04:39 -05:00
Seth Vargo 052e55ecd1
Move link to bottom 2016-11-17 13:04:29 -05:00
Michael Schurter 37acbf7adb Merge pull request #1997 from hashicorp/f-tls-docs
Add docs for generating example certificates
2016-11-16 15:05:16 -08:00
Alex Dadgar ea88536a99 Merge pull request #2000 from hashicorp/d-vault-example
Better examples for Vault config for both servers and clients
2016-11-16 14:56:07 -08:00
Alex Dadgar 1230a69938 Better examples 2016-11-16 14:55:11 -08:00
Michael Schurter 0a351235b6 Fix review comments 2016-11-16 14:49:29 -08:00
Alex Dadgar 9683f5a2c6 Merge pull request #1999 from hashicorp/d-service-https
Fix example for service using HTTPS check
2016-11-16 14:45:34 -08:00
Alex Dadgar 1068c35d33 Fix example 2016-11-16 14:44:55 -08:00
Dmitry Galinsky 3ec7ebac9c Add network_aliases for docker driver 2016-11-16 11:16:07 +03:00
Michael Schurter 78241d72d4 Don't forget localhost! 2016-11-15 17:23:00 -08:00
Michael Schurter d36d716bf9 Add docs for generating example certificates 2016-11-15 17:22:54 -08:00
Alex Dadgar 9497991590 Updated AWS speeds and network_speed now overrides
This PR:

* Makes AWS network speeds more granular
* Makes `network_speed` an override and not a default
* Adds a default of 1000 MBits if no network link speed is detected.

Fixes #1985
2016-11-15 13:55:51 -08:00
Bastiaan Bakker 68a8396d9b s/Vault token/rendered template/ 2016-11-14 21:59:42 +01:00
Alejandro Guirao Rodríguez 0152795858 Possible errata
For what I understand, regions are not meant to be nested (?)
2016-11-12 17:14:04 +01:00
Diptanu Choudhury 0a70ee3924 Merge branch 'master' of github.com:hashicorp/nomad 2016-11-10 15:40:09 -08:00
Diptanu Choudhury f7d8950df8 Updated http response for server members 2016-11-10 15:39:53 -08:00
Alex Dadgar eea35626b7 Changes the relative path from joining against the alloc dir to the
task's directory.

This PR changes the behavior when given a relative host path when
mounting docker containers. Prior to this, the behavior was to mount by
joining against the alloc/ directory. This PR changes it to be against
the task/ directory.
2016-11-10 14:47:54 -08:00
Michael Schurter 702416f508 Update address docs to match behavior in #1955 2016-11-09 16:15:56 -08:00
Alex Dadgar 6c4060c014 Merge pull request #1969 from maier/master
Vendor circonus
2016-11-09 14:29:53 -08:00
Michael Schurter 5216e9c395 Remove warning since #1862 added ports support 2016-11-09 13:57:12 -08:00
matt maier c6504f3418 Update Circonus integration expose Check Display Name and Check Tags
configuration options.
2016-11-09 15:12:30 -05:00
Alex Dadgar ee921ccbb2 Merge pull request #1949 from carlpett/blacklist-fingerprints-and-drivers
Support blacklisting fingerprinters
2016-11-09 10:31:17 -08:00
Calle Pettersson 4304755c12 Address comments from PR 2016-11-09 11:50:16 +01:00
Calle Pettersson 8632696e2d Add blacklisting of drivers 2016-11-08 18:30:07 +01:00
Calle Pettersson b603bb007e Add blacklisting of fingerprinters 2016-11-08 18:29:44 +01:00
Cameron Stokes d31acb70be ~ docs: Vault Example Configuration fixes
- add `-L` to follow redirect when downloading example config files (file is linked to root, but gets redirected to _www_).
- fix role name to match recommendation
2016-11-07 21:35:14 -08:00
Alex Dadgar 46893c7558 Merge pull request #1921 from hashicorp/f-abs-templ
Allow absolute paths for template sources
2016-11-07 12:28:49 -08:00
Diptanu Choudhury 15f085a4d7 Merge pull request #1931 from hashicorp/rename-vault-config
Rename vault config
2016-11-06 10:14:25 -08:00
Diptanu Choudhury d1345b9294 Fixed docs 2016-11-04 17:22:22 -07:00
Michael Schurter 9b8a95e601 Merge pull request #1940 from hashicorp/f-docker-userns-support
Add userns_mode docker config option
2016-11-04 16:59:21 -07:00
Michael Schurter b1a01a9a0f Add userns_mode docker config option
Fixes #1904
2016-11-04 16:53:56 -07:00
Alex Dadgar 647945089e Fixes to stop command 2016-11-04 15:25:12 -07:00
Diptanu Choudhury 06bc740371 Removed disk from resources docs 2016-11-04 10:17:30 -07:00
Seth Vargo 773e10fcfc Use tt instead 2016-11-04 11:14:40 -04:00
Chad Billman 62ae27554a Escape hostname in agent encryption docs 2016-11-04 08:41:05 -04:00
Diptanu Choudhury 26373aab43 Changed docs 2016-11-03 14:26:27 -07:00
Seth Vargo 0a87d0da32
Remove debug rec 2016-11-02 19:29:38 -04:00
Seth Vargo 241a43eddf
Address feedback 2016-11-02 19:26:10 -04: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 446d6c08c0
Address feedback 2016-11-02 18:29:17 -04:00
Seth Vargo 1941aae963
Add vault stanza everywhere 2016-11-02 18:26:53 -04:00
Alex Dadgar 2a5ac5e7ee Allow absolute paths for template sources 2016-11-02 13:04:47 -07:00
Seth Vargo 25907c5e33
Document ephemeral_disk under group
Fixes GH-1915
2016-11-02 09:26:31 -04:00
Alex Dadgar 2b8d08e6fa LXC website 2016-11-01 18:59:26 -07:00
Alex Dadgar dc723ceeb9 webfix 2016-11-01 18:47:40 -07:00
Alex Dadgar c3d001008b Merge pull request #1911 from hashicorp/docs-encryption
Added docs for encryption
2016-11-01 17:40:54 -07:00
Alex Dadgar 9fa15d01a9 Respond to comments 2016-11-01 17:40:42 -07:00
Diptanu Choudhury 3a00b2a247 Added docs for encryption 2016-11-01 15:50:12 -07:00
Alex Dadgar abcc0ea852 Merge branch 'master' of github.com:hashicorp/nomad 2016-11-01 15:26:21 -07:00
Alex Dadgar de5c8a530f enabled 2016-11-01 15:26:08 -07:00
Sean Chittenden eed30b136b
Drop in a keyword that an option impacts client-specific metrics only. 2016-11-01 14:56:49 -07:00
Alex Dadgar d07ffccb20 copy 2016-11-01 14:28:02 -07:00
Alex Dadgar 478eebb19b Merge pull request #1908 from hashicorp/f-vault-docs
Vault docs
2016-11-01 12:39:14 -07:00
Alex Dadgar 81c4acc248 Use nomad-server for retrieving a token 2016-11-01 12:38:45 -07:00
Alex Dadgar 1156c79e1b Read from env 2016-11-01 12:37:27 -07:00
Alex Dadgar caa8aeef07 docs 2016-11-01 12:23:10 -07:00
Michael Schurter c1f9d3ed61 Merge pull request #1907 from hashicorp/f-lxc-docs
Add LXC docs and enable by default for lxc builds
2016-11-01 11:06:39 -07:00
Alex Dadgar 80c09f188f Merge pull request #1905 from hashicorp/sethvargo/faildocs
Clarify restart mode "fail"
2016-11-01 10:43:29 -07:00
Alex Dadgar 747c3e7e68 Agent 2016-11-01 10:39:15 -07:00
Alex Dadgar 8f365bfbbf Update vault_test to use minimal set of policies + start of Vault documentation 2016-11-01 10:39:15 -07:00
Michael Schurter b84d8212ff Add LXC docs and enable by default for lxc builds 2016-11-01 10:18:16 -07:00
Jussi Kalliokoski 6c357343d6 Fixed a grammar mistake in template docs. 2016-11-01 16:17:21 +02:00
Seth Vargo 49eade3e13
Clarify restart mode "fail"
Fixes GH-1885
2016-11-01 08:56:34 -04:00
Seth Vargo 8baa0f8341 Merge pull request #1901 from hashicorp/sethvargo/more_docs
Update init command and add ephemeral_disk docs
2016-10-31 21:53:03 -04:00
Seth Vargo 90fad382cf
Address feedback 2016-10-31 21:52:45 -04:00
Diptanu Choudhury 73354b0b0f Added conf options for TLS 2016-10-31 18:14:48 -07:00
Seth Vargo 5428257f35
Add ephemeral_disk docs 2016-10-31 20:06:00 -04:00
Seth Vargo c13a9de213
Specify restart policy is not the same as restart behavior 2016-10-31 16:53:18 -04:00
Seth Vargo 15493c300f
Fix long lines 2016-10-31 16:53:17 -04:00
Seth Vargo 291c247183
Add multiline string template example 2016-10-31 16:53:17 -04:00
Seth Vargo 26526d8ce7
Fix multiline 2016-10-31 16:53:17 -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 356e19c530
Remove hard vault_token and change task name 2016-10-31 16:52:58 -04:00
Seth Vargo 9022998cf7
Consuming Secrets 2016-10-31 16:52:57 -04:00
Seth Vargo 3edbf62062
Discourage setting vault_token directly in job file 2016-10-31 16:52:57 -04:00
Seth Vargo e3be0e6509
Clarify templates must pre-exist and cannot come from the container 2016-10-31 16:52:57 -04:00
Seth Vargo 693baf2525
Fix job example 2016-10-31 16:52:56 -04:00
Seth Vargo 613d1d685b
Add service SEO description 2016-10-31 16:52:56 -04:00
Seth Vargo 59fea443ac
Add vault example 2016-10-31 16:52:55 -04:00
Seth Vargo c6603cddee
Add template example 2016-10-31 16:52:55 -04:00
Seth Vargo 77416c85b9
Give service its own configuration 2016-10-31 16:52:54 -04:00
Seth Vargo d059531ab2
Remove duplicate sentence 2016-10-31 16:52:51 -04:00
Seth Vargo c405291d39
Be consistent 2016-10-31 16:52:51 -04:00
Seth Vargo 5099443cb4
Wrap source line 2016-10-28 13:59:40 -04:00
Seth Vargo d145878fd2
Address feedback 2016-10-28 10:46:33 -04:00
Seth Vargo 56c0ae456b
jobfile -> job file 2016-10-27 22:50:02 -04:00
Seth Vargo b3e1807dfd
Remove orphan list 2016-10-27 22:18:07 -04:00
Seth Vargo eaa72558ea
Fix broken links 2016-10-27 22:18:07 -04:00
Seth Vargo 5d4b3958da
Use a partial instead 2016-10-27 22:18:06 -04:00
Seth Vargo fa101d91c4
Revamp job specification documentation to be more modular and composable 2016-10-27 22:18:06 -04:00
Alex Dadgar e9b1a2447f Merge pull request #1866 from hashicorp/f-bind-addr
Use bind address for consul checks
2016-10-27 11:31:24 -07:00
Michael Schurter b5df74e92e Merge pull request #1862 from hashicorp/f-rkt-portmap
driver.rkt: support network configuration [waiting]
2016-10-27 11:05:55 -07:00
Alex Dadgar ddf5fb82b5 Small cleanups 2016-10-27 10:51:11 -07:00
Evan Gilman de33949df8 Add address selector methods to the agent 2016-10-27 10:51:11 -07:00
Alex Dadgar 150b678a6b Merge pull request #1806 from hashicorp/f-docker4mac-fixes
A couple fixes to make Docker For Mac work
2016-10-27 09:29:40 -07:00
Michael Schurter 0d30daf1fd Use rkt port example that Just Works 2016-10-25 17:11:01 -07:00
Kenjiro Nakayama 1f850d41da driver.rkt: add documentation about Networking 2016-10-25 15:41:49 -07:00
Alex Dadgar 8e07c2750e Merge pull request #1839 from hashicorp/f-signal-constraints
Signal creates an auto-constraints
2016-10-25 11:09:33 -07:00
Michael Schurter 4f45aece4b Fingerprint rkt volume support and make periodic
Fix rkt docs and custom volume mounting
2016-10-25 09:46:49 -07:00
Michael Schurter fa7e83dcdd Document relative vs absolute volume paths 2016-10-25 09:46:49 -07:00
Michael Schurter 49ed6da0ad Enable rkt and docker volume mounting by default 2016-10-25 09:46:49 -07:00
Michael Schurter 83a11fc93b Bump minimum required rkt version; update docs
Make section names match between docker and rkt
2016-10-25 09:46:49 -07:00
Alex Dadgar e85d0ebace Merge pull request #1840 from hashicorp/f-kill-fail
Change how we mark tasks as failed and allow consul-template to fail tasks
2016-10-24 13:40:52 -07:00
Alex Dadgar 99feebd993 document initial status 2016-10-20 17:49:45 -07:00
Alex Dadgar 46a7d1a0d7 Change how we mark tasks as failed and allow consul-template to fail tasks 2016-10-20 17:27:16 -07:00
Alex Dadgar 989827e402 Add set contains 2016-10-19 13:06:28 -07:00
Diptanu Choudhury d445a5c3f5 Documenting the port attribute of the check configuration block (#1837) 2016-10-19 11:12:11 -07:00
Alex Dadgar 703b8423a3 Merge pull request #1816 from jippi/add-datadog-telemetry
Add datadog telemetry
2016-10-18 09:53:37 -07:00
Diptanu Choudhury 0f6e0d10b6 Enable serf encryption (#1791)
* Added the keygen command

* Added support for gossip encryption

* Changed the URL for keyring management

* Fixed the cli

* Added some tests

* Added tests for keyring operations

* Added a test for removal of keys

* Added some docs

* Fixed some docs

* Added general options
2016-10-17 10:48:04 -07:00
Christian Winther 84b1962528 document new key 2016-10-15 10:50:55 +02:00
Evan Phoenix 4639f43653 Add caveat about Docker For Mac in the docs 2016-10-12 17:07:21 -07:00
Seth Vargo 693b072596
Separate job update strategies into different pages 2016-10-11 20:15:30 -04:00
Seth Vargo eff03cd40e
Fix zz 2016-10-11 16:35:53 -04:00
Michael Schurter ed5ff3a104 Merge pull request #1804 from hashicorp/f-job-env-var
Add NOMAD_JOB_NAME to task environment
2016-10-11 13:34:54 -07:00
Ben Barnard 8c0a4196f7 Minor documentation edits for grammar and clarity
These are things I noticed as I read through the documentation.
There are a couple of minor substantive corrections as well.
2016-10-11 15:52:50 -04:00
Ben Barnard 83f647ed84 Replace "the the" with "the" in documentation and comments 2016-10-11 15:31:40 -04:00
Michael Schurter 99bd935274 Add NOMAD_JOB_NAME docs 2016-10-11 11:22:09 -07:00
Michael Schurter f0f8fd9328 Merge pull request #1797 from hashicorp/b-fix-docker-volume-docs
Fix docker docs; add volumes/logging to changelog
2016-10-10 09:50:59 -07:00
Seth Vargo 42c0f0b3ce
Fix titles 2016-10-09 15:01:59 +08:00
Seth Vargo 1d783513bd
Remove old refs 2016-10-09 14:58:31 +08:00
Seth Vargo 5dc729a6fc
Do not red code table and alerts 2016-10-09 14:56:48 +08:00
Seth Vargo 19cfd137a2
Update operating a job to tell a cohesive story 2016-10-09 13:49:03 +08:00
Seth Vargo 2fbd4a0cba Add more examples and links to installation instructions 2016-10-08 18:58:18 +08:00
Seth Vargo 00bbcc9010 Remove armon-specific stuff 2016-10-08 18:58:03 +08:00
Seth Vargo d5dcbdbd99 Separate cluster formation into separate documentation pages 2016-10-08 18:57:51 +08:00
Michael Schurter 1a04d7a303 Fix ticks 2016-10-07 16:43:17 -07:00
Michael Schurter 2d5f973954 Add docker volume example 2016-10-07 16:23:55 -07:00
Michael Schurter 4a8dcf7e85 Add example docker load config 2016-10-07 16:19:05 -07:00
Michael Schurter f0173b361f Fix docker docs; add volumes/logging to changelog 2016-10-07 12:28:42 -07:00
Michael Schurter d8f8048d85 Merge pull request #1767 from hashicorp/f-docker-volumes-logging
Support Docker Volumes and Logging
2016-10-07 12:10:59 -07:00
Seth Vargo c3f06658b6
Fix formatting 2016-10-03 18:23:53 -04:00
Michael Schurter 44219cc083 Put docker volume support behind conf flag
Also add tests and fix bug with logging driver configuration.
2016-10-03 15:02:50 -07:00
Seth Vargo cbfa0b2df5
Fix formatting and add more examples to driver docs 2016-10-03 17:35:20 -04:00
Seth Vargo 3fd682076c Remove raw-exec example 2016-10-03 17:11:10 -04:00
Seth Vargo 36da4df3b1 Remove exec example 2016-10-03 17:10:53 -04:00
Seth Vargo 283ab84cdf
Update driver docs with constraint examples 2016-10-03 17:01:24 -04:00
Seth Vargo 170668d128
Update docs on interpreted
Uses "property" instead of overloading "attribute"
2016-10-03 17:01:24 -04:00
Seth Vargo a883bbfb42
Fix HCL on interpreted.html 2016-10-03 17:01:23 -04:00
Seth Vargo 867e0efe0b Fix formatting 2016-09-30 14:15:11 -04:00
Seth Vargo a49e97e135
Clarify logs docs 2016-09-30 14:09:02 -04:00
Sean Chittenden 0b433e4c73
Add a small anchor tag to the periodic block. 2016-09-30 10:39:54 -07:00
Seth Vargo c60962045a
Fix docker args docs 2016-09-27 19:14:10 -07:00