Repository navigation
Make KubernetesStartKueueJobOperator wait through Kueue preemption - #75658
Open
raphaelauv wants to merge 1 commit into
Open
raphaelauv wants to merge 1 commit into
raphaelauv wants to merge 1 commit into
Conversation
raphaelauv
force-pushed
the
fix-kueue-job-wait
branch
5 times, most recently
from
October 27, 2026 15:58
354bbea to
fe03f6f
Compare
shahar1
marked this pull request as ready for review
October 27, 2026 18:57
shahar1
requested review from
hussein-awala,
jedcunningham and
jscheffl
as code owners
October 27, 2026 18:57
raphaelauv
force-pushed
the
fix-kueue-job-wait
branch
3 times, most recently
from
October 29, 2026 13:33
d1d52d5 to
97eb217
Compare
KubernetesStartKueueJobOperator inherited the KubernetesJobOperator wait, which looks for the Job's pods right after creating it. Kueue keeps the Job suspended without pods until it admits it, and may preempt it (suspend it again and delete its pods) then admit it again, so the task failed to find pods before admission, and after a preemption waited on, or read logs and XCom from, pods that had been deleted. Least-privilege Roles that grant get on jobs but not on jobs/status also got a 403 when job operators and triggers waited for a Job: Kubernetes RBAC checks subresources separately, although the Job object carries the same status. closes: apache#74373
raphaelauv
force-pushed
the
fix-kueue-job-wait
branch
from
October 29, 2026 20:21
97eb217 to
f0a7bb3
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
KubernetesStartKueueJobOperator now watches the Job itself, so it keeps working while Kueue queues it, preempts it or reruns it. Job operators also stop reading jobs/status, so get on jobs is enough.
Was generative AI tooling used to co-author this PR?