How to route execution to specific operators? #511
Replies: 3 comments 1 reply
-
Hello @ericlacher , I'm not entirely sure, but one thing you could try is adding a label when creating the #...
metadata:
labels:
operator: your-operator-name
#... I haven't tested this setup myself, so I’d be curious to hear if it works for you. 🤞 |
Beta Was this translation helpful? Give feedback.
-
...however, I now came across this code, and it indicates it should work as you described. |
Beta Was this translation helpful? Give feedback.
-
@cdavernas are these lines doing what they should?
E.g. on the claim method in WorkflowInstanceController we have
Without knowing the details of this code, I would've assumed we want to avoid claiming, if there's a mismatch, so rather having
(note |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Community
This is based on a discussion which started here.
I am going to set up a synapse kubernetes deployment, which will have multiple operators running on different node(pool)s (using the
spec.selector
feature as proposed by @cdavernas).The expectation would be, that the spawned runners would then run on the very same node as the operator.
However, what I do not understand is, how can I route execution of a certain workflow to a specific operator?
It seems at this point, it happens completely randomly.
I have (local docker)
Running this workflow multiple times in the UI causes the execution happening on a randomly picked operator. When I trigger it multiple times after another (without changing anything on the deployment), it will run on "Foo" as well as "default".
So, what's the envisioned way to specify an operator taking up a specific workflow?
Thanks,
Eric
PS: not sure this is related, but I can see the reported errors from here as well.
Beta Was this translation helpful? Give feedback.
All reactions