Commit Graph

29 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
Alex Dadgar
c94aa29ddc Example JSON is submitable
This PR makes the example JSON job submitable via the HTTP API.
2017-07-28 09:02:15 -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
Seth Vargo
36fe551231 Use a subdirectory for operator commands 2017-07-25 15:55:35 -04: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
Michael Schurter
02447214d5 an user -> a user 2017-07-07 12:12:48 -07:00
Alex Dadgar
27048bb7fa events 2017-07-07 12:12:48 -07:00
Alex Dadgar
6925255fe4 add to docs 2017-07-07 12:10:04 -07:00
Alex Dadgar
4e4c4a0f46 feedback 2017-07-07 12:10:04 -07:00
Alex Dadgar
65abc9ae41 HTTP API docs for job 2017-07-07 12:10:04 -07:00
Alex Dadgar
89d86bc4bd Deployments HTTP docs 2017-07-07 12:03:11 -07:00
Rob Genova
51ca07c50a Remove Atlas references from docs 2017-06-05 23:05:43 +00:00
Seth Vargo
5916480c7f Remove links to consistency modes 2017-05-30 21:08:23 -04:00
Seth Vargo
949a078266 Remove consistency modes 2017-05-30 20:53:37 -04:00
Seth Vargo
4d144e404f Cleanup links to limit redirects 2017-05-30 20:25:11 -04:00
Seth Vargo
b6ce5671ad Migrate API index 2017-05-30 20:25:10 -04:00
Seth Vargo
44e039712e Migrate validate APIs 2017-05-30 20:25:10 -04:00
Seth Vargo
085e57a3a9 Migrate system APIs 2017-05-30 20:25:10 -04:00
Seth Vargo
10fbdc5203 Migrate status APIs 2017-05-30 20:25:10 -04:00
Seth Vargo
6d44b632d4 Migrate regions APIs 2017-05-30 20:25:09 -04:00
Seth Vargo
1e05ae5353 Migrate operator APIs 2017-05-30 20:25:09 -04:00
Seth Vargo
681da3fea3 Migrate nodes APIs 2017-05-30 20:25:09 -04:00
Seth Vargo
5927099646 Add libraries & SDKs page 2017-05-30 20:25:08 -04:00
Seth Vargo
0929c6c766 Migrate JSON Jobs to new namespace 2017-05-30 20:25:08 -04:00
Seth Vargo
04cace3e1d Migrate jobs APIs 2017-05-30 20:25:08 -04:00
Seth Vargo
667f314049 Migrate evaluations APIs 2017-05-30 20:25:08 -04:00
Seth Vargo
ed4e9859a8 Migrate client APIs 2017-05-30 20:25:07 -04:00
Seth Vargo
4ce914a68b Migrate allocations APIs 2017-05-30 20:25:07 -04:00
Seth Vargo
3fd3db7a6e Migrate agent APIs 2017-05-30 20:25:07 -04:00