Commit Graph

1069 Commits

Author SHA1 Message Date
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
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
Alex Dadgar
487e1eafee 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
278195e6dc validate 2017-07-25 17:37:09 -07:00
Alex Dadgar
92991771f2 inspect 2017-07-25 17:37:09 -07:00
Alex Dadgar
fcc4655b6f alloc-status 2017-07-25 17:37:09 -07:00
Alex Dadgar
f977c7e7f8 Status command 2017-07-25 17:34:43 -07:00
Alex Dadgar
a6a0e7f7a1 Merge pull request #2911 from hashicorp/d-api
Update API and JSON Job Documentation
2017-07-25 17:28:12 -07:00
Alex Dadgar
58898e1426 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
0e3e79b749 Explain change in default advertise behavior 2017-07-25 17:15:39 -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
887c3e0e24 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
36fe551231 Use a subdirectory for operator commands 2017-07-25 15:55:35 -04: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
Karel Malec
809292da00 Allow rkt driver to mount volumes read-only 2017-07-21 13:05:15 +02:00
Alex Dadgar
6e315f945d Merge pull request #2868 from hashicorp/f-feedback
Variety of UX fixes
2017-07-20 17:43:42 -07:00
Karel Malec
bafe9276ec Pass task group name as NOMAD_GROUP_NAME environment variable 2017-07-21 01:22:54 +02:00
Alex Dadgar
d104ccce6b Blue/green and canary docs 2017-07-19 15:56:41 -07:00
Alex Dadgar
bb45b95bc4 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
c0084dcab1 Add command autocompletion.
This PR adds command autocompletion to the CLI.
2017-07-17 15:00:40 -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
Rob Genova
7d41d89b5c 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
25b393b77e Merge pull request #2806 from hashicorp/d-update-stanza
Document new upgrade stanza
2017-07-07 16:52:50 -07:00
Michael Schurter
ef98449b07 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
5ab252fe43 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
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
86e49b97d9 Add config options 2017-07-07 12:05:56 -07:00
Alex Dadgar
89d86bc4bd Deployments HTTP docs 2017-07-07 12:03:11 -07:00
Michael Schurter
2c612ca2bf Document driver.docker.bridge_ip node attribute 2017-07-07 10:17:44 -07:00
Michael Schurter
4f150e1650 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
eaab2b2eee Test #2652
Also cleanup docker config opts docs
2017-07-06 12:46:25 -07:00
Michael Schurter
87ef879f57 Simplify soft fail doc 2017-07-06 12:30:08 -07:00
Michael Schurter
58186bfb88 Merge branch 'master' into master 2017-07-06 12:09:36 -07:00
Michael Schurter
3aae173432 Default to auth hard fail but optionally soft fail 2017-07-06 11:35:34 -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
2b0f088495 Document cpu.totalcompute attribute 2017-07-03 14:51:02 -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
bf6c736ffe 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
10a0900c35 Merge pull request #2748 from hashicorp/d-migrate-needs-sticky
Ephemeral Disks: `migrate` requires `sticky`
2017-06-29 09:15:15 -07:00