Skip to content

KEP-7029: LocalQueue Default Maximum Execution Time#10596

Open
kannon92 wants to merge 1 commit intokubernetes-sigs:mainfrom
kannon92:kep--localqueue-default-execution-time
Open

KEP-7029: LocalQueue Default Maximum Execution Time#10596
kannon92 wants to merge 1 commit intokubernetes-sigs:mainfrom
kannon92:kep--localqueue-default-execution-time

Conversation

@kannon92
Copy link
Copy Markdown
Contributor

What type of PR is this?

/kind kep

What this PR does / why we need it:

Adds KEP-7029 proposing the ability to configure a default maximum execution time on a LocalQueue. When a job is submitted to a LocalQueue with a default maximum execution time configured, the resulting workload will automatically have its maximumExecutionTimeSeconds field set, unless the job already specifies a value via the kueue.x-k8s.io/max-exec-time-seconds label.

This builds on KEP-3125 (maximum execution time) and addresses community requests in:

Which issue(s) this PR fixes:

Fixes #7029

Special notes for your reviewer:

This is the KEP only. Implementation will follow in a separate PR.

Does this PR introduce a user-facing change?

NONE

@k8s-ci-robot k8s-ci-robot added release-note-none Denotes a PR that doesn't merit a release note. kind/kep Kueue Enhancement Proposal (Design) labels Apr 17, 2026
@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 17, 2026

Deploy Preview for kubernetes-sigs-kueue ready!

Name Link
🔨 Latest commit 32554a5
🔍 Latest deploy log https://app.netlify.com/projects/kubernetes-sigs-kueue/deploys/69e2c141cfcebe0008c22ea7
😎 Deploy Preview https://deploy-preview-10596--kubernetes-sigs-kueue.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@k8s-ci-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: kannon92
Once this PR has been reviewed and has the lgtm label, please assign tenzen-y for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Apr 17, 2026
@kannon92
Copy link
Copy Markdown
Contributor Author

/cc @mwielgus @mimowo @tenzen-y

@k8s-triage-robot
Copy link
Copy Markdown

Unknown CLA label state. Rechecking for CLA labels.

Send feedback to sig-contributor-experience at kubernetes/community.

/check-cla
/easycla

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Apr 18, 2026

## Summary

Add the ability to configure a default maximum execution time on a LocalQueue.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

We have most of the configuration on the CQ level and very very few on LQ, which acts mainly as a pointer to CQ. Why do we need to have it on LQ? How often do you face use cases where multiple LQ pointing to the same CQ would have significantly different max exec time?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Good question!

For timelimits I could see value in having it in both LQ/CQ.

Other values, like workload priority class or TAS settings, I'm not sure they should be at the CQ level.

Drawing parallels to slurm, it looks like they have time limits at the partition level (I think thats CQ) but you can also set timelimits for users I think.

WDYT @tenzen-y @mimowo @gabesaba?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@mukund-wayve

I saw you +1 this PR so curious if you have any thoughts on where this config should live.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/kep Kueue Enhancement Proposal (Design) release-note-none Denotes a PR that doesn't merit a release note. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: Provide a default timeout on a job per local queue

4 participants