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

Devel luca 1 #52

Merged
merged 15 commits into from
Apr 9, 2024
Merged

Devel luca 1 #52

merged 15 commits into from
Apr 9, 2024

Conversation

LucaCinquini
Copy link
Collaborator

Purpose

The purpose of this PR is to enable concurrent execution of multiple SBG end-to-end workflows onto the SPS cluster.
Specifically, the following constraints are imposed:

  • No more than 2 concurrent DAGs
  • No more than 4 concurrent Tasks
  • No more then 1 SBG task on any node of the Kubernetes cluster

Proposed Changes

  • [ADD] Constraint on number of concurrent SBG DAGs and Tasks
  • [ADD] PosAntiAffinity constraint that prevents any two SBG tasks to execute concurrently on the same node

Issues

Testing

Tested on an SPS cluster of 4 nodes, submitting 6 DAGs simultaneously. Verified that no more than 2 DAGs execute simultaneously, no more than 4 Tasks, and all tasks are spread across different nodes:

Copy link
Contributor

@drewm-jpl drewm-jpl left a comment

Choose a reason for hiding this comment

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

Looks good!

@drewm-jpl drewm-jpl merged commit 7347f7e into develop Apr 9, 2024
4 checks passed
@drewm-jpl drewm-jpl deleted the devel-luca-1 branch April 9, 2024 17:12
@LucaCinquini LucaCinquini restored the devel-luca-1 branch April 12, 2024 10:26
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