Files
nomad/nomad
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
..
2017-07-07 12:03:11 -07:00
2017-07-25 17:39:36 -07:00
2017-02-07 20:31:23 -08:00
2017-07-25 17:39:36 -07:00
2017-07-07 12:05:56 -07:00
2017-07-25 17:39:36 -07:00
2017-07-25 17:39:36 -07:00
2017-04-14 15:26:54 -07:00
2017-07-25 17:39:36 -07:00
2017-02-07 20:31:23 -08:00
2017-07-25 17:39:36 -07:00
2017-07-07 12:10:04 -07:00
2017-07-25 17:39:36 -07:00
2017-02-07 20:31:23 -08:00
2017-07-25 17:39:36 -07:00
2017-07-07 14:11:27 -07:00
2017-04-14 15:24:55 -07:00
2017-07-25 17:39:36 -07:00
2017-03-29 13:59:43 -07:00
2017-07-25 17:39:36 -07:00
2017-07-25 17:39:36 -07:00
2017-02-07 20:31:23 -08:00
2017-07-25 17:39:36 -07:00
2017-07-07 12:07:07 -07:00
2017-07-25 17:39:36 -07:00
2017-07-25 17:39:36 -07:00
2017-07-14 09:53:46 -07:00
2017-07-25 17:39:36 -07:00
2017-07-25 17:39:36 -07:00
2015-08-05 16:45:50 -07:00
2017-03-03 18:27:49 -08:00
2017-02-02 15:49:06 -08:00
2017-07-25 17:39:36 -07:00
2017-07-25 17:39:36 -07:00
2017-07-07 12:03:11 -07:00
2017-07-25 17:39:36 -07:00
2017-07-25 17:39:36 -07:00
2017-07-07 12:03:11 -07:00
2017-07-25 17:39:36 -07:00
2017-02-08 14:50:19 -08:00
2017-07-25 17:39:36 -07:00
2017-07-25 17:39:36 -07:00
2017-07-25 17:39:36 -07:00
2017-02-14 16:02:18 -08:00
2017-07-25 17:39:36 -07:00
2017-02-07 20:31:23 -08:00