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

Allow to select a pool for a job through a label #197

Merged
merged 9 commits into from
May 31, 2022
Merged

Allow to select a pool for a job through a label #197

merged 9 commits into from
May 31, 2022

Conversation

lgruen
Copy link

@lgruen lgruen commented May 26, 2022

Example use case: after adding seqr-specific pools (see add-seqr-pools.sql), this will allow to schedule a job on a dedicated seqr pool by setting job._pool_label = 'seqr'. This way, we can limit the number of worker instances for the seqr loading pipeline, thereby avoiding starvation of other batches due to running over cloud provider quota.

@lgruen lgruen requested a review from vladsavelyev May 26, 2022 12:34
Copy link

@vladsavelyev vladsavelyev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one comment

@lgruen lgruen merged commit 6b70db7 into main May 31, 2022
@lgruen lgruen deleted the pool-name branch May 31, 2022 22:55
jmarshall added a commit that referenced this pull request Jun 11, 2024
Pool labels are a CPG-local addition (PR #197) that are considered
in select_inst_coll() so should be displayed in this error message.
jmarshall added a commit that referenced this pull request Jun 11, 2024
…342)

Pool labels are a CPG-local addition (PR #197) that are considered
in select_inst_coll() so should be displayed in this error message.
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

Successfully merging this pull request may close these issues.

2 participants