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

Propagate schedulingGates set on PodTemplate when resuming JobSet #705

Merged

Conversation

mimowo
Copy link
Contributor

@mimowo mimowo commented Nov 12, 2024

What type of PR is this?

/kind bug

What this PR does / why we need it:

To support integration with Kueue for TAS.

Special notes for your reviewer:

I mark the PR as a bug because this was my intention while working on #623, but I forgot to actually propagate them (merge) back then. The previous PR on its own isn't enough.

Now I realized the issue exists while working on TAS for Kueue, which is using the ueue.x-k8s.io/topology scheduling gate. See here.

It will be great to cherry-pick to 0.7.1 or even 0.6.1

Does this PR introduce a user-facing change?

Propagate schedulingGates, set on the PodTemplate, down to Jobs when resuming a JobSet.

@k8s-ci-robot k8s-ci-robot added kind/bug Categorizes issue or PR as related to a bug. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Nov 12, 2024
Copy link

netlify bot commented Nov 12, 2024

Deploy Preview for kubernetes-sigs-jobset canceled.

Name Link
🔨 Latest commit 64a54c9
🔍 Latest deploy log https://app.netlify.com/sites/kubernetes-sigs-jobset/deploys/673338d083f3e5000814d20e

@k8s-ci-robot k8s-ci-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Nov 12, 2024
@mimowo mimowo changed the title Propagate schedulingGates set on PodTemplate when resuming JobSet WIP: Propagate schedulingGates set on PodTemplate when resuming JobSet Nov 12, 2024
@k8s-ci-robot k8s-ci-robot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Nov 12, 2024
@mimowo mimowo force-pushed the propagate-scheduling-gates branch 3 times, most recently from cafc188 to 54c8baa Compare November 12, 2024 09:57
@mimowo mimowo force-pushed the propagate-scheduling-gates branch from 54c8baa to 64a54c9 Compare November 12, 2024 11:15
@mimowo mimowo changed the title WIP: Propagate schedulingGates set on PodTemplate when resuming JobSet Propagate schedulingGates set on PodTemplate when resuming JobSet Nov 12, 2024
@k8s-ci-robot k8s-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Nov 12, 2024
@mimowo
Copy link
Contributor Author

mimowo commented Nov 12, 2024

/assign @kannon92 @danielvegamyhre

@mimowo
Copy link
Contributor Author

mimowo commented Nov 12, 2024

/cc @ahg-g @tenzen-y

@kannon92
Copy link
Contributor

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Nov 12, 2024
@ahg-g
Copy link
Contributor

ahg-g commented Nov 12, 2024

/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ahg-g, mimowo

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 12, 2024
@k8s-ci-robot k8s-ci-robot merged commit 82dbee1 into kubernetes-sigs:main Nov 12, 2024
13 checks passed
@mimowo
Copy link
Contributor Author

mimowo commented Nov 12, 2024

@ahg-g can we cherry-pick to 0.7.1?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/bug Categorizes issue or PR as related to a bug. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants