Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request for OR match option for multiple constraints when creating a service #41468

Open
n0nvme opened this issue Sep 18, 2020 · 0 comments

Comments

@n0nvme
Copy link

n0nvme commented Sep 18, 2020

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"]

@n0nvme 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant