Commit graph

253 commits

Author SHA1 Message Date
Chris Bednarski cc0f865a6b Added docs on vault API v2 template syntax 2018-07-03 17:56:22 -07:00
Charlie Voiselle 38c59b8821
Merge pull request #4425 from hashicorp/d-warn-impossible-constraint
Added warning about impossible constraints
2018-06-19 12:06:22 -04:00
Charlie Voiselle ae89587efe Remove extra linefeed 2018-06-19 09:30:15 -04:00
Charlie Voiselle a3780d37e2 Added warning about impossible constraints
This was as a resolution to https://github.com/hashicorp/nomad/issues/4424
2018-06-19 09:27:16 -04:00
Marguerite des Trois Maisons 92d8ca66f8 Clarify defaults and behaviour of mode = fail in restart stanza 2018-06-14 17:28:52 -04:00
Alex Dadgar 51e67daf69 Use Tags when CanaryTags isn't specified
This PR fixes a bug where we weren't defaulting to `tags` when
`canary_tags` was empty and adds documentation.
2018-05-23 13:07:47 -07:00
Alex Dadgar 224b3092ae
change default to 10m and docs 2018-05-07 14:50:01 -05:00
Michael Schurter 0a63a322a0 docs: try to make grpc explanation less confusing 2018-05-04 14:18:40 -07:00
Michael Schurter 91b84608fe docs: document grpc health check support 2018-05-04 11:08:45 -07:00
Michael Schurter be86ee4025 docs: fix broken links 2018-04-12 17:28:26 -07:00
Michael Schurter c3191388dc docs: link drain guide from other drain docs 2018-04-12 15:50:46 -07:00
Charlie Voiselle 4fc1c207f9 Updated Placement tables for consistency 2018-04-04 18:57:10 -04:00
Michael Schurter 0f81725359 docs: node drain, eligibility; jobspec migrate 2018-03-30 16:18:36 -07:00
Michael Schurter eca421415f docs: clarify service.port depends on address_mode
Hopefully helps prevent more issues like #3681 and #4008. The
port/address_mode logic is really subtle, and it took me a long time to
diagnose #4008 despite being the one to have addressed the duplicate
issue before! Not to mention I wrote the code! Definitely need to do
something to make it more understandable...
2018-03-27 14:58:08 -07:00
Preetha Appan e0b5b6f59f
more review feedback 2018-03-27 14:55:19 -05:00
Preetha Appan 13bf976b1f
Replace linear with constant, and other small changes 2018-03-27 14:55:19 -05:00
Preetha Appan 7b0aaebb50
Initial docs for new delayed rescheduling options 2018-03-27 14:55:19 -05:00
Joseph Núñez beebbe8ae8 website: removed duplicated text 2018-03-25 20:23:05 -03:00
Joseph Núñez 009c394bc1 website: fix typo in Vault stanza docs 2018-03-25 19:45:14 -03:00
Alex Dadgar 17fc9a6283 Fix old references 2018-03-22 13:39:18 -07:00
Josh Soref e4dec6d817 spelling: eligible 2018-03-11 17:58:26 +00:00
Josh Soref 62ae0c021d spelling: campaign 2018-03-11 17:44:58 +00:00
Michael Schurter bce46a97d8
Add hcl style to template block; fix interpolation
Also sneak in a schmichael -> hashicorp fix in a url
2018-03-08 10:59:56 -08:00
Charlie Voiselle 2a50205128
Incorporate review wording changes
Added text from review comments per @csawyerYumaed.
2018-03-05 13:11:35 -05:00
csawyerYumaed 88ed5ad112
Template docs, add vault PKI integration example.
Update the template documentation, and add a vault PKI integration example.
2018-02-26 12:41:39 -08:00
Preetha df6400222b
Merge pull request #3868 from hashicorp/f-server-side-restarts
server side rescheduling
2018-02-13 20:09:51 -06:00
Preetha Appan 22ed9f1ad7
Nicer names 2018-02-12 12:19:16 -06:00
Preetha Appan e955e732be
Add check names to multiple checks example 2018-02-12 11:31:06 -06:00
Preetha Appan dd7fcdd3cf
Clarify that check names are auto generated. 2018-02-12 11:21:50 -06:00
Preetha Appan 9e3e929382
More review feedback 2018-02-08 08:23:19 -06:00
Preetha Appan 4db169ce0a
Review feedback 2018-02-06 12:25:44 -06:00
Preetha Appan 886e7dd0a5
Add paragraph about rescheduling during deployments 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
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
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 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 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 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
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
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
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
Jonathan Ballet 8fb62b598d doc: fix logs size 2017-11-20 12:36:56 +01: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
Alex Dadgar acee89ed2a fix vault grace docs 2017-11-13 09:59:20 -08:00
James Phillips dbb07a3abc
Fixes a typo in the check restart doc. 2017-11-01 12:27:00 -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 961eb4c40e documentation 2017-10-11 17:48:18 -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 60111b5af7 Spell check website 2017-09-27 11:14:37 -07:00
Wim Fournier 139ef5e745 Update network.html.md
Fixing #3259
2017-09-22 10:24:05 +02:00
Alex Dadgar e5ec915ac3 sync 2017-09-19 10:08:23 -05: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
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 feace39196 Clarify all_at_once parameter
Fixes https://github.com/hashicorp/nomad/issues/3125
2017-08-29 16:20:28 -07:00
Alex Dadgar cf09c2af24 Fix confusing batch job example 2017-08-24 17:12:43 -07:00
Michael Schurter b1fa005656 Document check header and method 2017-08-17 16:49:14 -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
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
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 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
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 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 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
Alex Dadgar cd6e0e2084 Blue/green and canary docs 2017-07-19 15:56:41 -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
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 6d90c5c780 Deployments HTTP docs 2017-07-07 12:03:11 -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 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 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 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
Konstantin Gribov ea5e5788af HCL typo fix 2017-06-23 20:40:50 +03:00
Michael Schurter 817554eb9d Document address_mode 2017-06-21 17:19:08 -07:00
Michael Schurter 73425f6d85 Update template docs to mention json encoding newlines 2017-06-02 15:08:08 -07:00
Seth Vargo df31b83468
Cleanup links to limit redirects 2017-05-30 20:25:11 -04:00