Skip to content

Having job run on only one node in cluster #625

Closed Answered by maennchen
krisleech asked this question in Q&A
Discussion options

You must be logged in to vote

@krisleech Quantum automatically distributes tasks across the cluster. (Random Strategy is default)

It however does not ensure, that it only runs once in the cluster. This is why it is expected to see jobs being executed random times in your cluster.

You can do one of the following:

  • If you want each node to execute the task on itself, switch to the local strategy.
  • If you want jobs to be executed once across the cluster, make sure to only start it once. For example by starting it though highlander.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@krisleech
Comment options

Answer selected by krisleech
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #624 on November 05, 2024 15:02.