Commit graph

12 commits

Author SHA1 Message Date
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
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
Konstantin Gribov ea5e5788af HCL typo fix 2017-06-23 20:40:50 +03:00
Bill Anderson 851d20248f Update constraint.html.md
Fix Distinct Constraint header
2017-04-24 11:31:20 -04:00
Alex Dadgar df87e8d255 documentation 2017-03-11 16:18:01 -08:00
Alex Dadgar 675855b8c2 Fix documentation for interpolating attrs/meta
This PR fixes the website documentation to correctly present the way of
specifying constraints on node meta and attributes.
2017-01-03 13:25:56 -08:00
Seth Vargo 24ba6119b1
Fix broken meta links 2016-12-08 10:45:33 -08:00
Seth Vargo d059531ab2
Remove duplicate sentence 2016-10-31 16:52:51 -04:00
Seth Vargo d145878fd2
Address feedback 2016-10-28 10:46:33 -04:00
Seth Vargo b3e1807dfd
Remove orphan list 2016-10-27 22:18:07 -04:00
Seth Vargo eaa72558ea
Fix broken links 2016-10-27 22:18:07 -04:00
Seth Vargo fa101d91c4
Revamp job specification documentation to be more modular and composable 2016-10-27 22:18:06 -04:00