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

Reject independent Jobs with startPolicy.concurrencyPolicy #18

Open
irvinlim opened this issue Mar 25, 2022 · 0 comments
Open

Reject independent Jobs with startPolicy.concurrencyPolicy #18

irvinlim opened this issue Mar 25, 2022 · 0 comments
Labels
area/api Related to public APIs, including CRD design, configuration, etc component/execution Issues or PRs related exclusively to the Execution component (Job, JobConfig) good first issue Good for newcomers kind/feature Categorizes issue or PR as related to a new, well-defined and agreed-upon feature.

Comments

@irvinlim
Copy link
Member

The startPolicy.concurrencyPolicy field is used to define how to handle concurrent Jobs belonging to the same JobConfig.

In the case of Independent Jobs, they have no such JobConfig to look up, so the concurrencyPolicy is effectively useless, and we should just reject Jobs that specify this field.

@irvinlim irvinlim added good first issue Good for newcomers area/api Related to public APIs, including CRD design, configuration, etc component/execution Issues or PRs related exclusively to the Execution component (Job, JobConfig) labels Mar 25, 2022
@irvinlim irvinlim added kind/feature Categorizes issue or PR as related to a new, well-defined and agreed-upon feature. and removed good first issue Good for newcomers labels Apr 11, 2022
@irvinlim irvinlim added the good first issue Good for newcomers label Feb 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/api Related to public APIs, including CRD design, configuration, etc component/execution Issues or PRs related exclusively to the Execution component (Job, JobConfig) good first issue Good for newcomers kind/feature Categorizes issue or PR as related to a new, well-defined and agreed-upon feature.
Projects
None yet
Development

No branches or pull requests

1 participant