You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
At this moment there is no way to create service constraints with OR match pattern
For example: node.datacenter==DC1 OR node.datacenter==DC3
Of course, you can exclude all other labels, but you will need to update all services constraints when labels are changed
Is it possible to add support for this use case? The new rule may look like node.datacenter|=["DC1", "DC3"]
The text was updated successfully, but these errors were encountered:
n0nvme
changed the title
OR match option for multiple constraints when creating a service
Feature request for OR match option for multiple constraints when creating a service
Sep 18, 2020
Description
At this moment there is no way to create service constraints with
OR
match patternFor example:
node.datacenter==DC1 OR node.datacenter==DC3
Of course, you can exclude all other labels, but you will need to update all services constraints when labels are changed
Is it possible to add support for this use case? The new rule may look like
node.datacenter|=["DC1", "DC3"]
The text was updated successfully, but these errors were encountered: