Proposal: Support concurrency groups #41
Labels
component/execution
Issues or PRs related exclusively to the Execution component (Job, JobConfig)
kind/proposal
Proposal for new ideas or features
Motivation
Currently, concurrency policies are only supported only on a single JobConfig-level. There could be two JobConfigs that cannot run at the same time, and we want to provide some concurrency control on a controller-level to help with this.
Proposal
It should be simple to extend concurrency policy to support named concurrency groups, such that:
concurrency.group
. This group name is namespaced, and two identical names in different namespaces should not contribute to the same concurrency count.PerConfigReconciler
toPerGroupReconciler
.jobconfig
context.${jobconfig.uid}
, which evaluates to the JobConfig's UID.API Design
JobConfig
Update
ConcurrencySpec
like as follows:JobConfigStatus will have to be updated as well:
Job
Update
StartPolicySpec
as follows:It should be possible for the JobStatus to show a more detailed message about the concurrency group:
References
The text was updated successfully, but these errors were encountered: