-
Notifications
You must be signed in to change notification settings - Fork 299
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
[jobs]Add max execution time #3191
Conversation
Skipping CI for Draft Pull Request. |
✅ Deploy Preview for kubernetes-sigs-kueue canceled.
|
/test all |
108694f
to
6d6c848
Compare
/test all |
6d6c848
to
307167b
Compare
/test all |
/cc @tenzen-y |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Besically, lgtm
Additionally, could you add a max-exec label to https://github.com/kubernetes-sigs/kueue/blob/a9e198c295819db473c0bd3387fb564d1b829700/site/content/en/docs/reference/labels-and-annotations.md? |
I have #3308 to cover the full implementation. |
Oh, that makes sense. Let me review it, thank. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
/lgtm
/approve
LGTM label has been added. Git tree hash: ab18488b313b1401017b4752198f3ba54d9aaffb
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: tenzen-y, trasc The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/release-note-edit
|
/release-note-edit
|
* [controllers][jobs] Add MaxExecutionTime to workloads. * [webhooks][jobs] Validate MaxExecutionTime. * [controllers][jobs] Update the workload when MaxExecutionTime changes. * Rename `MaxExecTime` to `MaximumExecutionTimeSeconds` * Review Remarks
* [controllers][jobs] Add MaxExecutionTime to workloads. * [webhooks][jobs] Validate MaxExecutionTime. * [controllers][jobs] Update the workload when MaxExecutionTime changes. * Rename `MaxExecTime` to `MaximumExecutionTimeSeconds` * Review Remarks
What type of PR is this?
/kind feature
What this PR does / why we need it:
[jobs] Add max execution time.
Adds a new label
kueue.x-k8s.io/max-exec-time-seconds
that can be used by any supported job to enforcea maximum execution time for its workload.
Which issue(s) this PR fixes:
Related to #3125
Special notes for your reviewer:
Does this PR introduce a user-facing change?