2650bb1d12
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 |
||
---|---|---|
.. | ||
args | ||
discover | ||
fields | ||
flag-helpers | ||
flatmap | ||
gated-writer | ||
stats | ||
testtask | ||
tlsutil | ||
funcs.go | ||
funcs_test.go |