Alex Dadgar
914ed9ffeb
Clarify all_at_once parameter
...
Fixes https://github.com/hashicorp/nomad/issues/3125
2017-08-29 16:20:28 -07:00
Alex Dadgar
1b8eb39444
Fix confusing batch job example
2017-08-24 17:12:43 -07:00
Michael Schurter
a6bf5b6098
Document check header and method
2017-08-17 16:49:14 -07:00
Michael Schurter
beae45bad5
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
d69d41b247
Match example update configuration to comment
...
"two-at-a-time" == `max_parallel = 2`
2017-08-15 11:45:28 +10:00
Alex Dadgar
798b779609
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
68778accb2
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
f1488a4d8d
Merge pull request #2945 from hashicorp/d-rolling
...
Document update stanza for system scheduler.
2017-08-01 14:21:18 -07:00
Alex Dadgar
053cff812a
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
cc923aed0f
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
4e71ba2e71
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
040d791e8f
Mention xz support
2017-07-31 15:53:05 -07:00
Michael Schurter
93c2696df5
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
df6172a888
Mention node attrs
2017-07-25 16:53:10 -07:00
Michael Schurter
b6eb02ac6c
Mention templates & env vars in configuring tasks
2017-07-25 10:13:28 -07:00
Michael Schurter
5f4d17671a
Write secrets to secrets!
2017-07-25 09:51:11 -07:00
Michael Schurter
41e550d176
Use better example for env template
2017-07-24 16:40:39 -07:00
Alex Dadgar
d104ccce6b
Blue/green and canary docs
2017-07-19 15:56:41 -07:00
Charlie Voiselle
77c6f32243
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
ee13d1a81a
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
89d86bc4bd
Deployments HTTP docs
2017-07-07 12:03:11 -07:00
Michael Schurter
b212ddac93
Update docs and readme
2017-07-06 10:45:44 -07:00
Alex Dadgar
78624cbd76
Merge pull request #2755 from hashicorp/sethvargo/docs-updates
...
Update docs notes
2017-07-06 10:02:38 -07:00
Michael Schurter
6b3ae9acd8
Merge pull request #2709 from hashicorp/f-advertise-docker-ips
...
Advertise driver-specific addresses
2017-07-03 14:04:12 -07:00
Michael Schurter
10a0900c35
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
3e3b77bd55
Document context of service checks
...
Fixes GH-1935
2017-06-29 16:54:23 +08:00
Charlie Voiselle
6958e4d11b
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
237b433062
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
452a4d6745
HCL typo fix
2017-06-23 20:40:50 +03:00
Michael Schurter
ee5e02fa3c
Document address_mode
2017-06-21 17:19:08 -07:00
Michael Schurter
f9176492e3
Update template docs to mention json encoding newlines
2017-06-02 15:08:08 -07:00
Seth Vargo
4d144e404f
Cleanup links to limit redirects
2017-05-30 20:25:11 -04:00
Michael Schurter
aac319cd16
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
Alex Dadgar
65465e9ac6
Update artifact.html.md
2017-05-30 09:47:17 -07:00
Christian Winther
5bbe5f14fe
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
43cc0a08a9
Minor wording updates
2017-05-24 13:55:21 -07:00
Alex Dadgar
28b256f6d8
Update template.html.md
2017-05-24 09:54:22 -07:00
Michael Schurter
826aec455f
Document env templates
2017-05-23 17:25:21 -07:00
Alex Dadgar
45c9e4b8cb
Merge pull request #2646 from derzufall/patch-1
...
Docu was misleading
2017-05-16 12:35:08 -04:00
Jeff Fraser
134a80cab4
Small typo fix in vault stanza
2017-05-16 11:46:59 -04:00
Ni Br
da97094816
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
Alex Dadgar
9a4f8a6de6
better change_mode explanation for templates
2017-05-03 12:40:27 -07:00
Alex Dadgar
93d7626ac5
fix old arch
2017-05-01 17:36:20 -07:00
Bill Anderson
81e74ada8c
Update constraint.html.md
...
Fix Distinct Constraint header
2017-04-24 11:31:20 -04:00
Michael Schurter
a5dcf6bbd9
Document tls_skip_verify
2017-04-19 12:45:34 -07:00
Michael Schurter
10cb924b2c
Refactor Consul Syncer into new ServiceClient
...
Fixes #2478 #2474 #1995 #2294
The new client only handles agent and task service advertisement. Server
discovery is mostly unchanged.
The Nomad client agent now handles all Consul operations instead of the
executor handling task related operations. When upgrading from an
earlier version of Nomad existing executors will be told to deregister
from Consul so that the Nomad agent can re-register the task's services
and checks.
Drivers - other than qemu - now support an Exec method for executing
abritrary commands in a task's environment. This is used to implement
script checks.
Interfaces are used extensively to avoid interacting with Consul in
tests that don't assert any Consul related behavior.
2017-04-19 12:42:47 -07:00
Alex Dadgar
c005d29fc1
Make logging clearer
2017-04-11 12:34:09 -07:00
Mitchell Hashimoto
aa6d74f26f
Update dispatch_payload.html.md
2017-04-06 12:53:47 -07:00
vrenjith
57673dc62a
Update task.html.md
2017-03-29 00:06:47 +05:30
vrenjith
90f8bae938
disk is not a supported entry at task level
...
Removed the reference to `disk` in the `resources` overview statement
2017-03-29 00:05:17 +05:30