Commit graph

1523 commits

Author SHA1 Message Date
Mahmood Ali bebafb5234 Add tags option to datadog telemetry
Expose an global tags option in telemetry config for dogstatsd, for
purposes of distinguishing between multiple nomad cluster metrics.
2018-02-06 12:08:37 -05:00
Preetha Appan 886e7dd0a5
Add paragraph about rescheduling during deployments 2018-02-06 10:19:45 -06:00
Preetha Appan 9632d0e352
Documentation for reschedule attempts in CLI/API 2018-02-06 10:19:45 -06:00
Preetha Appan f34ab642fa
Start of documentation for reschedule stanza 2018-02-06 10:19:45 -06:00
Michael Schurter 279a3b3f28
Merge pull request #3790 from 42wim/dockerv6
Service registration for IPv6 docker addresses (Fixes #3785)
2018-02-05 17:07:53 -08: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
Preetha Appan 2a5df68e9a
Change the default mode for client side restarts to fail from delay 2018-01-31 10:39:11 -06:00
Wim 76f09db067 Service registration for IPv6 docker addresses 2018-01-30 17:07:47 +01:00
Kyle Havlovitz 2ccf565bf6 Refactor redundancy_zone/upgrade_version out of client meta 2018-01-29 20:03:38 -08:00
Filip Ochnik 80a17ee8dd Add ReadonlyRootfs option to the Docker driver 2018-01-27 14:38:29 +01:00
Alex Dadgar a43e0a7b08 Allow overriding an image's entrypoint in Docker
Fixes https://github.com/hashicorp/nomad/issues/2219
2018-01-23 14:05:00 -08:00
Filip Ochnik 2f670b1b2a Document the ALL value for docker.caps.whitelist 2018-01-23 11:30:44 +01:00
Filip Ochnik 4abd269a68
Merge branch 'master' into docker-caps 2018-01-21 12:18:22 +01:00
Filip Ochnik 558812350d Finish implementation of the capabilities whitelist 2018-01-21 12:14:24 +01:00
Kyle Havlovitz 901c8791f4
Merge pull request #3670 from hashicorp/autopilot
Add Autopilot feature from Consul
2018-01-19 12:52:56 -08:00
Michael Schurter 5a1fa05e40
Merge pull request #3766 from hashicorp/b-example-service-name
Make example service name make sense
2018-01-18 16:06:50 -08:00
Kyle Havlovitz 12ff22ea70 Merge branch 'master' into autopilot 2018-01-18 13:29:25 -08:00
Michael McCracken e8774d3161 lxc: Add documentation for volumes support
Signed-off-by: Michael McCracken <mikmccra@cisco.com>
2018-01-18 04:17:42 -08: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 57eb128dcf
Merge pull request #3718 from hashicorp/b-3713-fix-check-restart
Fix service.check_restart stanza propagation
2018-01-16 16:39:42 -08:00
Alex Dadgar 622aeb581e
Merge pull request #3751 from portworx/master
Docs:  update volume-driver, reflecting a supported driver
2018-01-16 15:58:54 -08:00
Alex Dadgar 68f3db0956
Update consul.html.md 2018-01-16 15:56:02 -08:00
Kyle Havlovitz 7b980c42d8 Add raft remove by id endpoint/command 2018-01-16 13:35:32 -08:00
Alex Dadgar 6420ba61bc actually show defaults 2018-01-16 11:37:59 -08:00
Filip Ochnik 8ee3ce7a26 Add an option to add and drop capabilities in the Docker driver 2018-01-14 19:56:57 +01:00
Jeff Silberman 270f8dafcf Update volume-driver, reflecting a supported driver 2018-01-12 16:09:50 -08:00
Filip Ochnik 881ab93dfc Remove duplicate docs entry for docker privileged option 2018-01-12 14:29:31 +01:00
Michael Schurter 3ef1de4c63 Revert "Remove mention of check_restart on service"
This reverts commit 758b98685be4a2997bd0bc54f55b73ac3d0365cc.
2018-01-09 15:18:34 -08:00
Michael Schurter 6b6a14cf7e Revert "Missed header mention of server.check_restart"
This reverts commit 8295f81dddf8b53c0b78707be6fddc6e30f95640.
2018-01-09 15:18:22 -08:00
Michael Schurter de62c3e933
Merge pull request #3716 from hashicorp/docs-3713-remove
Remove mention of check_restart on service
2018-01-08 10:53:27 -08:00
Michael Schurter 79d44050f3 Missed header mention of server.check_restart 2018-01-04 15:05:27 -08:00
Michael Schurter 337578effd Remove mention of check_restart on service
This is currently broken and should be removed from docs until a fix is
released.

See #3713
2018-01-04 11:30:03 -08:00
Michael Schurter 22bcbe3dbc Add missing -group=cache to docs
Fixes #3699
2018-01-03 16:50:47 -08:00
Preetha 1712b03705
Merge branch 'master' into 0.8 2018-01-03 16:06:38 -06:00
Michael Schurter e6a5de7443
Merge pull request #3692 from jaeminsung/master
Add missing token option for nomad run command
2018-01-03 09:42:17 -08:00
Chris Kühl 6da376a110
Change 'CoreOS rkt' to just 'rkt'
CoreOS initiated the project but it is now under the CNCF banner and includes many contributors and core maintainers that are not at CoreOS.
2018-01-02 10:42:29 +01:00
Fabio Matos d630860036
removed duplicate stats command from output 2017-12-29 11:37:48 +00:00
Jaemin Sung 1cc4813d86
Add missing token option for nomad run command 2017-12-27 11:54:20 -05:00
Michael Schurter 237dc52acc Fix missing fields in json jobspec docs 2017-12-19 16:19:40 -08:00
Michael Schurter 714eb0b266 Services should not require a port
Fixes #3673
2017-12-19 15:50:23 -08:00
Kyle Havlovitz 2455a205de Add autopilot docs 2017-12-18 14:29:41 -08:00
James Rasell 07134665c2
Update template.html.md Vault template example
The change updates the Vault example within the Environment Variables section to use the `.value` notation rather than the `.key` notation. This is because the example is calling a specific secret key and populating an env var with this; meaning the value of the secret is required over the value.
2017-12-13 10:40:22 +00:00
Rob Genova 9559341f42 fix minor formatting/spacing issue 2017-12-12 22:11:15 +00:00
Kyle Havlovitz b775fc7b33
Added support for v2 raft APIs and -raft-protocol option 2017-12-12 10:17:16 -06: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 Appan e652956496
Clarify difference between node and task metadata interpolated vars. 2017-12-08 11:44:15 -06:00
Chelsea Holland Komlo 61fa8ad4ba code review fixes 2017-12-07 13:46:25 -05:00
Chelsea Holland Komlo 54ec80adb0 add documention 2017-12-07 12:35:02 -05:00
Michael Schurter 0b12984552 Add atomic migrations to changelog and docs 2017-11-29 17:27:13 -08:00
Thomas Bartelmess 9acfa166c0
Changed Superset to only return the resource name
The Superset method on Resources used to return a string in the format of “[resource name] exhausted”.
This was leading to the output in plan/create job API DimensionExhausted to return keys like
```
"DimensionExhausted": {"cpu exhausted": 1}
```
This was not anywhere documented, however, one of the examples on the website showed it like this.

The other side effect of this is that the CLI formats the strings from the name of the key leading to output like
```
* Dimension "cpu exhausted" exhausted on 1 nodes
```
2017-11-28 23:16:08 -05:00
Preetha 8b6b4f0caa
Merge pull request #3567 from hashicorp/d-enterprise-docs
Minor tweaks to Enterprise docs
2017-11-21 16:38:07 -06:00
Rob Genova 4be77ddb2c
Update index.html.md 2017-11-20 12:20:53 -08:00
Rob Genova 9f29cc8cfb
Update index.html.md 2017-11-20 12:19:42 -08:00
Rob Genova 0b01bd6c6f
Update index.html.md 2017-11-20 12:17:16 -08:00
Rob Genova efde1117de
Update index.html.md 2017-11-20 12:11:21 -08:00
Preetha d2558cc0ef
Merge pull request #3568 from hashicorp/f-docker-sysctl
Rebase and merge of docker sysctl support
2017-11-20 14:01:54 -06:00
Preetha Appan c68973747b Address some review comments 2017-11-20 11:15:09 -06:00
Jonathan Ballet 8fb62b598d doc: fix logs size 2017-11-20 12:36:56 +01:00
Preetha a00c878e59
Remove merge conflict marker from documentation 2017-11-19 16:10:56 -06:00
Rob Genova 97da591a7b slight wording changes; add links to Enteprise 2017-11-17 23:07:05 +00:00
Rob Genova 657349dae0 minor wording changes 2017-11-17 14:52:41 -08:00
Rob Genova 5a191b5483 update Enterprise language 2017-11-17 14:44:48 -08:00
Samuel BERTHE 0fca2e19c8 review(docker driver): sysctls -> sysctl + ulimits -> ulimit 2017-11-17 16:30:45 -06:00
Samuel BERTHE dc295b3ce1 doc(docker driver): Adds doc for ulimit and sysctl 2017-11-17 16:14:14 -06:00
Preetha e3b276b719
Merge pull request #3558 from hashicorp/b-nomad-validate-with-defaults
Make validate command ignore environment variables in service name
2017-11-17 14:31:42 -06:00
Preetha 8aa08682a9
Remove documentation around service name validation 2017-11-17 14:31:27 -06: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
Preetha eb0f8bb02a
Update validate.html.md.erb 2017-11-16 07:56:26 -06:00
Preetha e99dec75a7
Adding some more explanatory text around validating 2017-11-15 16:48:16 -06:00
Preetha Appan d668afea7a Update documentation about validation logic for service names. 2017-11-15 15:42:03 -06:00
Alex Dadgar d01653266d use revised wording 2017-11-15 12:49:22 -08:00
Alex Dadgar 97ec3974a9 Use interface attached to default route 2017-11-15 11:32:32 -08:00
Alex Dadgar cb476f2f8c
Merge pull request #3537 from hashicorp/d-docker-endpoints
Better docs for docker.endpoint option
2017-11-13 11:00:57 -08:00
Alex Dadgar 7112c21508
Merge pull request #3538 from hashicorp/d-serf-name
Clarify Name config
2017-11-13 11:00:48 -08:00
Michael Schurter 61970f8468
unix -> Unix
I'm not going to leave a review comment just to uppercase one dumb letter
2017-11-13 10:45:21 -08:00
Alex Dadgar 83f25f4926 Clarify Name config
Fixes https://github.com/hashicorp/nomad/issues/3517
2017-11-13 10:37:55 -08:00
Preetha f8eeee06a4
Merge pull request #3512 from hashicorp/b-docker-device-option
Add support for passing device into docker driver
2017-11-13 12:37:14 -06:00
Alex Dadgar ba32088634 Better docs for docker.endpoint option
Fixes https://github.com/hashicorp/nomad/issues/3533
2017-11-13 10:20:40 -08:00
Alex Dadgar acee89ed2a fix vault grace docs 2017-11-13 09:59:20 -08:00
Preetha Appan 110c1fd4f0 Add support for passing device into docker driver 2017-11-13 09:56:54 -06:00
Laura Uva bf23e75ca1 Updated Troubleshooting section of Vault Integration docs to mention the policy requirements for certain version combinations of Vault and Nomad, due to changes in Vault default policy and Nomad's vendored Vault lease renewal API. 2017-11-10 16:36:43 -08:00
Alex Dadgar f6dd1d1fa9 changelog and website 2017-11-03 16:43:16 -07:00
Alex Dadgar b3edc12dd9
Merge pull request #3411 from cheeseprocedure/f-qemu-graceful-shutdown
Qemu driver: graceful shutdown feature
2017-11-03 16:41:34 -07:00
Diptanu Choudhury cb68889652 Added the node_id as a tag 2017-11-02 13:29:10 -07:00
Diptanu Choudhury 269f3b0b88 Added docs 2017-11-02 13:26:46 -07:00
Matt Mercer 47c832972e Wrap qemu docs at 80 characters 2017-11-01 15:31:02 -07:00
Matt Mercer 5127e75569 Qemu driver: add graceful shutdown feature 2017-11-01 15:30:36 -07:00
Alex Dadgar 30b5dea84c
Merge pull request #3483 from hashicorp/slackpad-patch-1
Fixes a typo in the check restart doc.
2017-11-01 15:01:32 -07:00
Chelsea Holland Komlo 800018e2b3 document new agent option 2017-11-01 15:19:52 -05:00
Preetha Appan 4c1ef55c7d Update docs to include ModifyTime in more places where allocations are returned 2017-11-01 15:19:52 -05:00
Preetha Appan 7116487a96 Document modify time in a bunch of places 2017-11-01 15:16:38 -05:00
James Phillips dbb07a3abc
Fixes a typo in the check restart doc. 2017-11-01 12:27:00 -07:00
Alex Dadgar bd8a36cc58 use job status 2017-10-31 16:49:12 -07:00
Laura Uva 7e6c3d3202 Added clarification to telemetry doc that API endpoint is available only as of version 0.7 of Nomad. 2017-10-26 17:26:51 -07:00
Michael Schurter 2547bc5138 Prevent _ from causing italics
Fixes #3418
2017-10-19 15:35:47 -07:00
Alex Dadgar fd5be6de76 Merge pull request #3395 from hashicorp/d-quota
Document Quotas
2017-10-16 12:41:05 -07:00
Alex Dadgar 5172073db2 Merge branch 'master' into f-acl-cli 2017-10-16 11:29:48 -07:00
Alex Dadgar 49248b11ef guide 2017-10-16 11:23:18 -07:00
Alex Dadgar 24eff68c37 clarify duration 2017-10-16 10:08:35 -07:00
Alex Dadgar b6d2d1f6af List does json/template 2017-10-13 16:37:33 -07:00
Alex Dadgar f0215b91e6 add missing namespace commands 2017-10-13 16:32:47 -07:00
Alex Dadgar 919fc3ce70 policy list and token self commands 2017-10-13 16:31:46 -07:00
Alex Dadgar bf88fd8dd1 quota command docs 2017-10-13 16:16:36 -07:00
Alex Dadgar c1cc51dbee sync 2017-10-13 14:36:02 -07:00
Alex Dadgar 56c4a50ba1 vault_grace doc 2017-10-13 10:15:44 -07:00
Adam Stankiewicz eb4dd2f3ba
Fix typo: job -> task 2017-10-13 11:51:17 +02:00
Alex Dadgar b5fc557253 ACL command options 2017-10-12 13:51:39 -07:00
Alex Dadgar ca1da307e3 Merge pull request #3361 from hashicorp/d-ui
UI command documentation
2017-10-12 09:42:22 -07:00
Alex Dadgar eafaba0e81 Update ui.html.md.erb 2017-10-12 09:42:11 -07:00
Alex Dadgar 0c529f87a5 UI command documentation 2017-10-11 18:24:58 -07:00
Alex Dadgar 961eb4c40e documentation 2017-10-11 17:48:18 -07:00
Tim Gross 1c44d54842 update docker.auth.helper to note hardcoded prefix 2017-10-11 16:19:40 -04:00
James Rasell 4628637b54
Update agent CLI to include Consul config option flags.
This update introduces command line flags for all Consul options
thus allowing users to both use a config file and CLI options to
configure Consul.

Website documentation has also been updated.

Closes #3304
2017-10-05 14:26:26 +01:00
Michael Schurter 0a7e79e854 Merge pull request #3303 from hashicorp/doc-docker-load
Docker `load` takes a string not a slice
2017-09-29 14:01:45 -07:00
Michael Schurter 46f0821960 Docker load takes a string not a slice 2017-09-29 11:29:11 -07:00
Michael Schurter d951568754 Mention Docker for Windows caveats 2017-09-28 17:22:25 -07: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
Alex Dadgar bed56cbb1e Merge pull request #3292 from hashicorp/f-lint-website
Spell check website
2017-09-27 12:56:13 -07:00
Alex Dadgar e8629773a2 Merge pull request #3271 from hashicorp/d-oss2ent
Document enterprise upgrade path
2017-09-27 11:53:44 -07:00
Alex Dadgar 60111b5af7 Spell check website 2017-09-27 11:14:37 -07:00
Michael Schurter d7229ce6c5 Merge pull request #3256 from dalegaard/master
Enable rkt driver to use address_mode = 'driver'
2017-09-26 18:04:37 -05:00
Lasse Dalegaard 3d25fd3b00 Bump minimum rkt version to 1.27.0.
The changes introduces in #3256 require at least rkt 1.27.0 because of
a bug in the JSON output of `rkt status` in previous versions.

Here we upgrade all references to rkt's minimum version, and also make
travis and vagrant use this version when running tests.

Finally we add a CHANGELOG notice.
2017-09-26 19:15:43 +02:00
Alex Dadgar 4eeffefef3 Namespace Quotas -> Resource Quotas 2017-09-26 09:51:28 -07:00
Alex Dadgar f6d1b7f2eb Document enterprise upgrade path 2017-09-25 14:59:41 -07:00
Chelsea Komlo fd913cdd09 Merge pull request #3264 from hashicorp/f-acl-token-update
Update ACL token
2017-09-25 17:56:04 -04:00
Alex Dadgar dbff10a4a5 Document need to specify network_interface on 0.6
This PR enhances the upgrade documentation from 0.5.x to 0.6.x

Fixes https://github.com/hashicorp/nomad/issues/3236
2017-09-25 13:50:07 -07:00
Chelsea Holland Komlo 907c4da351 fixups from code review 2017-09-25 19:42:03 +00:00
Chelsea Holland Komlo 3966a27c87 update acl token 2017-09-25 15:54:06 +00:00
Wim Fournier 139ef5e745 Update network.html.md
Fixing #3259
2017-09-22 10:24:05 +02:00
David Calvert f6894e3655 Minor typo on consul.html.md 2017-09-21 11:06:39 +02:00
Alex Dadgar e5ec915ac3 sync 2017-09-19 10:08:23 -05:00
Michael Schurter f92ffe5af5 Merge pull request #3105 from hashicorp/f-876-restart-unhealthy
Restart unhealthy tasks
2017-09-17 19:38:32 -07:00
Chelsea Holland Komlo c69cf5807e update documentation 2017-09-17 18:47:06 +00:00
Chelsea Holland Komlo e8cc152828 add documentation for token info 2017-09-17 18:45:32 +00:00
Chelsea Holland Komlo 8f6a697834 add policy with rules for documentation 2017-09-17 18:17:53 +00:00
Chelsea Holland Komlo 8c04423c63 small fixups 2017-09-17 18:17:53 +00:00
Chelsea Holland Komlo 7b8c4557b9 documentation; add to existing commands 2017-09-17 18:17:53 +00:00
Chelsea Holland Komlo 6d4156e706 fixups 2017-09-17 05:15:25 +00:00
Chelsea Holland Komlo ee3de65f7d add acl policy delete command 2017-09-17 04:36:08 +00:00
Chelsea Holland Komlo 80e810e09b adds ACL token delete 2017-09-16 00:26:44 +00:00
Michael Schurter 6c38c59e27 @dadgar is better at words than me 2017-09-15 15:53:22 -07:00
Michael Schurter 7303d2e88a Minor corrections to check_restart docs 2017-09-15 15:18:32 -07:00
Armon Dadgar 08f592d38d website: document token create 2017-09-14 22:05:17 -07:00
Armon Dadgar 3345ef42b8 website: document acl policy apply 2017-09-14 21:31:15 -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
Alex Dadgar 2102bc3968 Merge pull request #3209 from dezmodue/patch-1
Adding missing <
2017-09-14 10:53:26 -07:00
Chelsea Holland Komlo fcc3071e52 fixups from code review 2017-09-13 19:21:21 +00:00
Chelsea Holland Komlo e0f9cd4a0f add documentation for prometheus config option 2017-09-13 19:21:21 +00:00
Simone Sciarrati 54a41c4279 Adding missing <
Missing < for the TaskGroup
2017-09-13 11:40:37 +02:00
Armon Dadgar 9344f58b27 website: document bootstrap CLI and update ACL guide 2017-09-11 10:47:39 -07:00
Chelsea Holland Komlo e56da12857 match table names to logged values
docs fixup
2017-09-07 21:57:01 +00:00
Chelsea Holland Komlo 658172935e update telemetry client metrics for new values 2017-09-07 19:02:38 +00:00
Chelsea Holland Komlo 1238efc2a8 improve documentation
move metrics to telemetry; copy to client config
2017-09-06 21:38:06 +00:00
Chelsea Holland Komlo 66fa05405a tagged metrics config options should be on telemetry config
better api example, add telemetry documentation
2017-09-06 15:25:36 +00:00
Chelsea Holland Komlo 11a676c901 add documentation for new HTTP metrics endpoint 2017-09-06 13:51:19 +00:00
Armon Dadgar a712a83f1b website: Document ACL APIs and configuration 2017-09-04 13:07:44 -07:00
Alex Dadgar feace39196 Clarify all_at_once parameter
Fixes https://github.com/hashicorp/nomad/issues/3125
2017-08-29 16:20:28 -07:00
Alex Dadgar ac2e20d511 Document new status command
This PR documents the new status and job status command.
2017-08-28 16:05:58 -07:00
Alex Dadgar cf09c2af24 Fix confusing batch job example 2017-08-24 17:12:43 -07:00
Alex Dadgar fd7d614ae4 Handle interfaces that only have link-local addrs
This PR changes the fingerprint handling of network interfaces that only
contain link local addresses. The new behavior is to prefer globally
routable addresses and if none are detected, to fall back to link local
addresses if the operator hasn't disallowed it. This gives us pre 0.6
behavior for interfaces with only link local addresses but 0.6+ behavior
for IPv6 interfaces that will always have a link-local address.

Fixes https://github.com/hashicorp/nomad/issues/3005

/cc diptanuc
2017-08-23 15:32:22 -07:00
Alex Dadgar 4fd4e5c6c9 Merge pull request #3077 from hashicorp/f-docker-mounts
Clean up docker mounts
2017-08-23 14:17:10 -07:00
Nicolae Vlădescu ee56faec04 Fix typo Automtic -> Automatic 2017-08-23 17:09:47 +03:00
Alex Dadgar 653733e093 Clean up docker mounts 2017-08-22 14:12:44 -07:00
Clint Armstrong 3cdcbc5c6b add docs for mount 2017-08-21 15:32:44 -04:00
Rob Genova f6b072dd8e add bold formatting 2017-08-19 00:14:13 +00:00
Rob Genova ee56124af3 reword for clarity; note that data is not replicated between regions 2017-08-19 00:13:26 +00:00
Rob Genova 839b0e1a36 Clarify that it is not required to set a Vault token on the clients. 2017-08-18 23:17:20 +00:00
Rob Genova cbdb5960e9 Make it explicit that data is not replicated between regions. 2017-08-18 23:16:39 +00:00
Michael Schurter b1fa005656 Document check header and method 2017-08-17 16:49:14 -07:00
Michael Schurter 8b0fe6b2fd Fix broken link 2017-08-17 16:39:19 -07:00
Michael Schurter d529b422b2 Add optional shutdown delay to tasks
Fixes #2441

Defaults to 0 (no delay) for backward compat and because this feature
should be opt-in.
2017-08-16 17:59:46 -07:00
jkburges 5f697eae06 Match example update configuration to comment
"two-at-a-time" == `max_parallel = 2`
2017-08-15 11:45:28 +10:00
Michael Schurter 28c79ff658 Merge pull request #2923 from hashicorp/d-tls-guide
TLS Guide
2017-08-11 21:03:52 -07:00
Alex Dadgar eff03143bc Update docker.html.md 2017-08-11 10:12:22 -07:00
Jan De Cooman 96a5015665 added a newline 2017-08-11 11:53:24 +02:00
Jan De Cooman 5cb1884198 removed empty line 2017-08-10 11:06:26 +02:00
Jan De Cooman 804fc0d06f added dnsoptions to the docker driver 2017-08-09 13:30:06 +02:00
Alex Dadgar 79d25b7db9 Merge pull request #2947 from hashicorp/f-vault-grace
Allow template to set Vault grace
2017-08-07 16:29:53 -07:00
Alex Dadgar 9476d0b210 Small improvements to docs
This PR fixes an incorrect placement of the update stanza in the task
and also links from the env stanza into an example of using the template
block to generate dynamic environment variables.
2017-08-04 16:14:41 -07:00
Michael Schurter ce8e7ec445 Merge pull request #2968 from hashicorp/d-task-ports
Document <task> network env vars
2017-08-04 13:42:29 -07:00
Michael Schurter cdbf729386 Document <task> network env vars
Looks like I accidently dropped them when combining env var listings in
PR #2709
2017-08-04 13:05:05 -07:00
Seth Rutner efee7fb635 Update revert.html.md.erb
wrong command
2017-08-04 11:06:04 -07:00
Kate Taggart 99455679cf fix typo. 2017-08-02 00:39:08 -07:00
Michael Schurter 930dc9ef38 Lots of fixes from @sethvargo
* hclfmt the world
  * 2 space indent
  * make every example well formed with stanzas and comments
* jsonfmt too
* mdfmt manually
  * _ instead of *
  * no [links][], only [links][links]
* ordered lists instead of bullets when possible
* lots of wording fixes
* de-contractionization
* add 127.0.0.1 to SANs
* -1 on intentional errors
* -1 on first person
2017-08-01 15:40:36 -07:00
Alex Dadgar 04a124f4f8 Merge pull request #2945 from hashicorp/d-rolling
Document update stanza for system scheduler.
2017-08-01 14:21:18 -07:00
Alex Dadgar 70f265070b Merge pull request #2946 from hashicorp/f-doc-job-anti-affinity-reflow
Added a sentence about job anti-affinity; Reflowed
2017-08-01 14:21:03 -07:00
Alex Dadgar 9ad1f3ac4f Merge pull request #2942 from hashicorp/f-distinct-count
Distinct Property supports arbitrary limit
2017-08-01 14:19:09 -07:00
Alex Dadgar 067a638478 Allow template to set Vault grace
This PR allows a template to specify the Vault grace duration.

Fixes https://github.com/hashicorp/nomad/issues/2922
2017-08-01 14:14:08 -07:00
Charlie Voiselle 0462c8534f Review changes 2017-08-01 13:58:18 -04:00
Charlie Voiselle b9791c445e Added sentence about job anti-affinity; Reflowed
This will create a concrete mention of job anti-affminity in the Nomad documentation. The only place we discuss it currently is in a similar sentence on the website itself.  I borrowed liberally from that sentence in crafting this line.
2017-08-01 13:13:42 -04:00
Charlie Voiselle 408b0f057d Merge branch 'master' into b-cv-add-job-anti-affinity-sentence 2017-08-01 12:35:33 -04:00
Alex Dadgar e0b48831b2 Merge pull request #2867 from hashicorp/b-docs-vi-more-orphan-info
More why for the -orphan flag
2017-08-01 09:20:02 -07:00
Charlie Voiselle 8866f344e5 More review fixes 2017-08-01 12:05:28 -04:00
Alex Dadgar 47379d5eea Document update stanza for system scheduler.
This PR adds a note to make it clear the limits of the system
schedulers update stanza.
2017-08-01 08:51:26 -07:00
Alex Dadgar 2650bb1d12 Distinct Property supports arbitrary limit
This PR enhances the distinct_property constraint such that a limit can
be specified in the RTarget/value parameter. This allows constraints
such as:

```
constraint {
  distinct_property = "${meta.rack}"
  value = "2"
}
```

This restricts any given rack from running more than 2 allocations from
the task group.

Fixes https://github.com/hashicorp/nomad/issues/1146
2017-07-31 16:52:13 -07:00
Michael Schurter 9a5c62ab18 Mention xz support 2017-07-31 15:53:05 -07:00
Michael Schurter 6243c9eb86 Merge pull request #2883 from kmalec/add-support-for-readonly-mount
rkt driver support for read-only volumes mounts
2017-07-31 10:58:22 -07:00
Charlie Voiselle ebf56fd9ad Added a note about the job anti-affinity rule
We only mention job anti-affinity on the main webpage. This sentence is borrowed from there with minor tweaks to at least introduce it in the docs corpus
2017-07-30 15:18:21 -05:00
Charlie Voiselle 1af9d2536e Addressed Review Feedback 2017-07-28 17:42:24 -04:00
Michael Schurter 78e2fc603c Remove old example tls config
It didn't work in cfssl 1.2 anyway (required building from cfssl
master).
2017-07-27 16:03:38 -07:00
Michael Schurter fcba6a7975 Merge pull request #2917 from hashicorp/b-grammar
Add word
2017-07-27 09:44:53 -07:00
Jon Benson 52d849981b Add word 2017-07-26 19:33:03 -07:00
Jon Benson e386ef9fa3 Fix typo 2017-07-26 19:24:23 -07:00
Seth Vargo d23117d357
Fix broken links 2017-07-26 18:43:51 -04:00
Alex Dadgar 7611fab2c5 Update operating a job, upgrade guide (#2913)
* Update operating a job, upgrade guide

This PR updates the guide for updating a job to reflect the changes in
Nomad 0.6

* Feedback changes

* Feedback

* Feedback
2017-07-26 15:06:17 -07:00
Michael Schurter f660d79514 Missing period 2017-07-25 17:37:09 -07:00
Alex Dadgar e0beda704a New commands docs and small fixes
This PR adds the command documentations and has small CLI fixes.
2017-07-25 17:37:09 -07:00
Alex Dadgar 797fc81012 validate 2017-07-25 17:37:09 -07:00
Alex Dadgar a271b8fc22 inspect 2017-07-25 17:37:09 -07:00
Alex Dadgar 5a2578eefe alloc-status 2017-07-25 17:37:09 -07:00
Alex Dadgar 08ce8b85f4 Status command 2017-07-25 17:34:43 -07:00
Alex Dadgar f7985535d4 Merge pull request #2911 from hashicorp/d-api
Update API and JSON Job Documentation
2017-07-25 17:28:12 -07:00
Alex Dadgar fac2567521 Update API and JSON Job Documentation
This PR updates the api documentation to reflect 0.6 HTTP API and the
JSON job specification as well.
2017-07-25 17:18:15 -07:00
Michael Schurter 2aab3b5dc1 Explain change in default advertise behavior 2017-07-25 17:15:39 -07:00
Michael Schurter 07436d4b03 Merge pull request #2898 from hashicorp/d-config-tasks-env
Mention templates & env vars in configuring tasks
2017-07-25 16:54:55 -07:00
Michael Schurter ca5272dece Mention node attrs 2017-07-25 16:53:10 -07:00
Michael Schurter 6d45210b9a Merge pull request #2895 from hashicorp/d-env-example
Use better example for env template
2017-07-25 14:58:19 -07:00
Seth Vargo a293b81b2b
Use a subdirectory for operator commands 2017-07-25 15:55:35 -04:00
Michael Schurter 6627d28bff Mention templates & env vars in configuring tasks 2017-07-25 10:13:28 -07:00
Michael Schurter 46a17c39bf Write secrets to secrets! 2017-07-25 09:51:11 -07:00
Michael Schurter 19dd0be377 Use better example for env template 2017-07-24 16:40:39 -07:00
Karel Malec 4b98f94a88 Allow rkt driver to mount volumes read-only 2017-07-21 13:05:15 +02:00
Alex Dadgar 15fad96c21 Merge pull request #2868 from hashicorp/f-feedback
Variety of UX fixes
2017-07-20 17:43:42 -07:00
Karel Malec cf985f011c Pass task group name as NOMAD_GROUP_NAME environment variable 2017-07-21 01:22:54 +02:00
Alex Dadgar cd6e0e2084 Blue/green and canary docs 2017-07-19 15:56:41 -07:00
Charlie Voiselle 9169f54271 More why for the -orphan flag
Added a little more explanation about the why for creating the nomad service token with `-orphan` to recusce confusion about the orphan=false in the policy right above the example.
2017-07-19 17:58:51 -04:00
Alex Dadgar 747d67eb3f Allow tuning of heartbeat ttls
This PR allows tuning of heartbeat TTLs. An example of very aggressive
settings is as follows:

```
server {
  heartbeat_grace = "1s"
  min_heartbeat_ttl = "1s"
  max_heartbeats_per_second = 200.0
}
```
2017-07-19 09:38:35 -07:00
Alex Dadgar 810ab68f94 Add command autocompletion.
This PR adds command autocompletion to the CLI.
2017-07-17 15:00:40 -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
Rob Genova df8549d40e Update the vault token-create example to use -orphan (to prevent revocation if the parent token expires); add note about Vault token hierarchies 2017-07-13 13:04:31 -07:00
Alex Dadgar 16052866ae Merge pull request #2806 from hashicorp/d-update-stanza
Document new upgrade stanza
2017-07-07 16:52:50 -07:00
Michael Schurter 95a9a5da71 Merge pull request #2787 from hashicorp/f-docker-test-mac
Test #2652 - Docker MAC Address option
2017-07-07 16:22:10 -07:00
Michael Schurter 4be4df21c9 Merge pull request #2797 from hashicorp/f-2785-docker-bridge-ip
Add driver.docker.bridge_ip node attribute
2017-07-07 16:20:20 -07:00
Alex Dadgar 5086f1c868 Document new upgrade stanza
This PR adds documentation and examples for the new update stanza.
2017-07-07 16:04:35 -07:00
Alex Dadgar c643e6b0d1 Add config options 2017-07-07 12:05:56 -07:00
Alex Dadgar 6d90c5c780 Deployments HTTP docs 2017-07-07 12:03:11 -07:00
Michael Schurter ed78d7eda7 Document driver.docker.bridge_ip node attribute 2017-07-07 10:17:44 -07:00
Michael Schurter 39edf23fd5 Merge pull request #2786 from hashicorp/f-docker-auth-soft-fail
Default to auth hard fail but optionally soft fail
2017-07-06 13:25:56 -07:00
Michael Schurter bae1b7db2d Test #2652
Also cleanup docker config opts docs
2017-07-06 12:46:25 -07:00
Michael Schurter 965c4e6893 Simplify soft fail doc 2017-07-06 12:30:08 -07:00
Michael Schurter 8f4353779a Merge branch 'master' into master 2017-07-06 12:09:36 -07:00
Michael Schurter 2900f941b5 Default to auth hard fail but optionally soft fail 2017-07-06 11:35:34 -07:00
Michael Schurter 2ea7b841aa Update docs and readme 2017-07-06 10:45:44 -07:00
Alex Dadgar b706b872d5 Merge pull request #2755 from hashicorp/sethvargo/docs-updates
Update docs notes
2017-07-06 10:02:38 -07:00
Michael Schurter 0f65a56627 Document cpu.totalcompute attribute 2017-07-03 14:51:02 -07:00
Michael Schurter 6e7cc3964e Merge pull request #2709 from hashicorp/f-advertise-docker-ips
Advertise driver-specific addresses
2017-07-03 14:04:12 -07:00
Michael Schurter d9e032aabf Merge pull request #2735 from hashicorp/f-no_host_uuid-true
Default no_host_uuid to true instead of false
2017-07-03 13:18:25 -07:00
Michael Schurter 34ed718d06 Merge pull request #2748 from hashicorp/d-migrate-needs-sticky
Ephemeral Disks: `migrate` requires `sticky`
2017-06-29 09:15:15 -07:00
Seth Vargo 4b6b9d4bab
Document permissions for agents
Fixes GH-948
2017-06-29 16:59:19 +08:00
Seth Vargo 73b2f8e1ec
Document context of service checks
Fixes GH-1935
2017-06-29 16:54:23 +08:00
Charlie Voiselle 9cd861a307 Noted that ephemeral storage size not enforced
This value is strictly used in the job placement, but is not enforced like a quota
2017-06-28 12:51:27 -04:00
Charlie Voiselle 47a1077c62 Ephemeral Disks: migrate requires sticky
The migrate option is a no-op when sticky is set to false
2017-06-28 12:21:01 -04:00
Michael Schurter e81252ba45 Default no_host_uuid to true instead of false
The host UUID isn't unique in many virtualized cases and of dubious
value even when it is univerally unique. Default to a random UUID.
2017-06-23 16:23:01 -07:00
Michael Schurter 9b531d51a6 Remove defunct DRIVER references in docs
Simplifies things greatly!
2017-06-23 15:32:47 -07:00
Konstantin Gribov ea5e5788af HCL typo fix 2017-06-23 20:40:50 +03:00
Michael Schurter 9e686e84a1 Remove DRIVER env vars from docs 2017-06-22 16:16:17 -07:00
Michael Schurter 817554eb9d Document address_mode 2017-06-21 17:19:08 -07:00
Michael Schurter f85f43bdfb Consolidate envvars in a partial template 2017-06-21 17:19:08 -07:00
Alex Dadgar efebc29688 Merge pull request #2716 from hynek/master
Explain term signal behavior for Docker tasks
2017-06-20 12:36:42 -07:00
Hynek Schlawack dc8d7ad23d STOPSIGNAL 2017-06-17 10:17:48 +02:00
Paddy 13bddfaa84 Fix typo in job-dispatch docs.
canidate -> candidate.
2017-06-16 16:04:12 -07:00
Hynek Schlawack f002ba29d1 Explain term signal behavior for Docker tasks 2017-06-16 17:24:54 +02:00
Hynek Schlawack e3d5c69e0b Fix documentation of -tail/-f
Previously, -tail is erroneously documented as -f and -f and -n are not documented at all. 

This patch fixes both.
2017-06-16 15:50:40 +02:00
Michael Schurter 784d69789e Merge branch 'master' into add-no-overlay-option 2017-06-08 13:15:56 -07:00
Karel Malec b55f4bf601 Fix backticks in docs; refine --debug comment 2017-06-07 21:11:22 +02:00
Karel Malec b714194b9d Fix the backticks 2017-06-07 20:54:21 +02:00
Karel Malec a258a803f2 Added insecure_options config list 2017-06-07 09:58:42 +02:00
Karel Malec 1957e9dfa6 Add a no_overlay option for the rkt task config. 2017-06-07 00:17:33 +02:00
Rob Genova 5d8298290e Remove Atlas references from docs 2017-06-05 23:05:43 +00:00
Michael Schurter 73425f6d85 Update template docs to mention json encoding newlines 2017-06-02 15:08:08 -07:00
Alex Dadgar 3b46fe136f small cleanup 2017-05-31 15:56:54 -07:00
Alex Dadgar 8d6e28ace8 Merge branch 'master' into feature/2334 2017-05-31 14:27:07 -07:00
Ulrik Mikaelsson 6138564f00 Implement support for docker-credential-helpers
Solves: #2334
2017-05-31 12:45:02 +02:00
Seth Vargo df31b83468
Cleanup links to limit redirects 2017-05-30 20:25:11 -04:00
Seth Vargo 08cd843c5f
Migrate API index 2017-05-30 20:25:10 -04:00
Seth Vargo 80e296bbc5
Migrate validate APIs 2017-05-30 20:25:10 -04:00
Seth Vargo d3c5863cb5
Migrate system APIs 2017-05-30 20:25:10 -04:00
Seth Vargo 916d965e81
Migrate status APIs 2017-05-30 20:25:10 -04:00
Seth Vargo 4df34e95bd
Migrate regions APIs 2017-05-30 20:25:09 -04:00
Seth Vargo e090b716f7
Migrate operator APIs 2017-05-30 20:25:09 -04:00
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