Commit Graph

1111 Commits

Author SHA1 Message Date
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
88372e6b72 Document new status command
This PR documents the new status and job status command.
2017-08-28 16:05:58 -07:00
Alex Dadgar
1b8eb39444 Fix confusing batch job example 2017-08-24 17:12:43 -07:00
Alex Dadgar
77c1ebd14f 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
47b8c18fb0 Merge pull request #3077 from hashicorp/f-docker-mounts
Clean up docker mounts
2017-08-23 14:17:10 -07:00
Nicolae Vlădescu
66865f3998 Fix typo Automtic -> Automatic 2017-08-23 17:09:47 +03:00
Alex Dadgar
8099655836 Clean up docker mounts 2017-08-22 14:12:44 -07:00
Clint Armstrong
3ee1ca15fb add docs for mount 2017-08-21 15:32:44 -04:00
Rob Genova
6cc533b573 add bold formatting 2017-08-19 00:14:13 +00:00
Rob Genova
c6f869b04b reword for clarity; note that data is not replicated between regions 2017-08-19 00:13:26 +00:00
Rob Genova
0774bba4fd Clarify that it is not required to set a Vault token on the clients. 2017-08-18 23:17:20 +00:00
Rob Genova
5640284730 Make it explicit that data is not replicated between regions. 2017-08-18 23:16:39 +00:00
Michael Schurter
a6bf5b6098 Document check header and method 2017-08-17 16:49:14 -07:00
Michael Schurter
9d4b98f126 Fix broken link 2017-08-17 16:39:19 -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
Michael Schurter
be36bfb15a Merge pull request #2923 from hashicorp/d-tls-guide
TLS Guide
2017-08-11 21:03:52 -07:00
Alex Dadgar
3af6e7aa98 Update docker.html.md 2017-08-11 10:12:22 -07:00
Jan De Cooman
9c016a7f6a added a newline 2017-08-11 11:53:24 +02:00
Jan De Cooman
cbeb42e1a1 removed empty line 2017-08-10 11:06:26 +02:00
Jan De Cooman
b4ec045e9a added dnsoptions to the docker driver 2017-08-09 13:30:06 +02: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
Michael Schurter
8b46d4089e Merge pull request #2968 from hashicorp/d-task-ports
Document <task> network env vars
2017-08-04 13:42:29 -07:00
Michael Schurter
29951abbd1 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
2108e2a391 Update revert.html.md.erb
wrong command
2017-08-04 11:06:04 -07:00
Kate Taggart
6635a744f0 fix typo. 2017-08-02 00:39:08 -07:00
Michael Schurter
4fa43440b1 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
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
6ca508c670 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
2e7d8adfa4 Merge pull request #2942 from hashicorp/f-distinct-count
Distinct Property supports arbitrary limit
2017-08-01 14:19:09 -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
Charlie Voiselle
64455a606a Review changes 2017-08-01 13:58:18 -04:00
Charlie Voiselle
17ccab2d26 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
589b33bfaf Merge branch 'master' into b-cv-add-job-anti-affinity-sentence 2017-08-01 12:35:33 -04:00
Alex Dadgar
ffdb86dc6f 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
1bc65e1ad4 More review fixes 2017-08-01 12:05:28 -04: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
1585a5b2b9 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
79d2ff10d9 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
c11042fec6 Addressed Review Feedback 2017-07-28 17:42:24 -04:00
Michael Schurter
cb2b3ff2fc 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
67705efb8f Merge pull request #2917 from hashicorp/b-grammar
Add word
2017-07-27 09:44:53 -07:00
Jon Benson
4b7db544e9 Add word 2017-07-26 19:33:03 -07:00
Jon Benson
c3039d75b8 Fix typo 2017-07-26 19:24:23 -07:00
Seth Vargo
30823a69cc Fix broken links 2017-07-26 18:43:51 -04:00
Alex Dadgar
6194ac4073 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
4901816810 Missing period 2017-07-25 17:37:09 -07:00