-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Controlling max parallel jobs per pipeline[WIP] #3112
Conversation
This PR adds logic to allow for a maximum nbr of parallel task to run concurrency. This is done by validating how many task is runing before a new task is runing. If there are more than the set maximum the controller omit creating a new.
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Hi @NikeNano. Thanks for your PR. I'm waiting for a tektoncd member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@jlpettersson I read your comment on how to solve #2591, do you have to possibility to review this WIP? Thanks |
@NikeNano this issue might need a TEP so that we can discuss the change cc @bobcatfish |
FYI: Have to do this after vacation so will take a week or two. |
Thank you for the ping @jerop! Missed this after the vacation. Will pick it up, would be great with some help. I will create a draft and tag you. |
/retest |
@NikeNano: The following tests failed, say
Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
@NikeNano: PR needs rebase. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Issues go stale after 90d of inactivity. /lifecycle stale Send feedback to tektoncd/plumbing. |
hello Team Any news on this issue? we need parallel runs in the project |
This PR adds logic to allow for a maximum nbr of parallel task to run concurrency. This is done by validating how many task is runing before a new task is runing. If there are more than the set maximum the controller omit creating a new.
Changes
This PR updates the PipelineRun controller to check how TaskRuns are running for the PipelineRun and if it is more concurrent jobs than a limit specified in the PipelineRunSpec the TaskRun will not be created.
This is related to: #2591 and more specifically this comment: #2591 (comment)
Submitter Checklist
These are the criteria that every PR should meet, please check them off as you
review them:
See the contribution guide for more details.
Double check this list of stuff that's easy to miss:
cmd
dir, please updatethe release Task to build and release this image.
Reviewer Notes
If API changes are included, additive changes must be approved by at least two OWNERS and backwards incompatible changes must be approved by more than 50% of the OWNERS, and they must first be added in a backwards compatible way.
Release Notes