nomad-helper icon indicating copy to clipboard operation
nomad-helper copied to clipboard

Filtering on DC

Open the-maldridge opened this issue 4 years ago • 2 comments

Either this is undocumented or not currently possible, but either way I'd like the ability to filter on datacenter.

the-maldridge avatar Mar 24 '21 18:03 the-maldridge

What exactly would you like to filter by datacenter?

josegonzalez avatar Apr 20 '22 23:04 josegonzalez

I would like to filter nodes by datacenter, which I can do with a class attribute, but that depends on having the class setup already.

Ultimately the idea was to be able to use the drain command to drain some percentage of a datacenter, but the drain command doesn't produce stable node selection, so this whole idea seems somewhat moot.

the-maldridge avatar Apr 20 '22 23:04 the-maldridge