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

implement TAS support in AppWrapper integration #4174

Merged
merged 4 commits into from
Feb 13, 2025

Conversation

dgrove-oss
Copy link
Contributor

What type of PR is this?

/feature

What this PR does / why we need it:

Implements TAS support for the AppWrapper integration.

Which issue(s) this PR fixes:

Special notes for your reviewer:

The bump appwrappers from v1.0.0 to 1.0.3 is necessary to pick up fixes to appwrapper bugs found while implementing TAS support.

Does this PR introduce a user-facing change?

NONE

@k8s-ci-robot k8s-ci-robot added the release-note-none Denotes a PR that doesn't merit a release note. label Feb 7, 2025
@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Feb 7, 2025
Copy link

netlify bot commented Feb 7, 2025

Deploy Preview for kubernetes-sigs-kueue ready!

Name Link
🔨 Latest commit bbeb850
🔍 Latest deploy log https://app.netlify.com/sites/kubernetes-sigs-kueue/deploys/67aa26f5e851290008d41d93
😎 Deploy Preview https://deploy-preview-4174--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 site configuration.

@dgrove-oss
Copy link
Contributor Author

/retest

Due to #4113

@mimowo
Copy link
Contributor

mimowo commented Feb 10, 2025

cc @PBundyra @mbobrovskyi could you give it a pass?

Copy link
Contributor

@mimowo mimowo left a comment

Choose a reason for hiding this comment

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

/lgtm
/approve
This PR already brings value even without rank-based ordering, which I believe can be worked on as a follow up.

@@ -122,6 +122,9 @@ func (aw *AppWrapper) PodSets() ([]kueue.PodSet, error) {
ctrl.Log.Error(err, "Error returned from awutils.GetPodSets", "appwrapper", aw)
return nil, err
}
for idx := range podSets {
podSets[idx].TopologyRequest = jobframework.PodSetTopologyRequest(&podSets[idx].Template.ObjectMeta, nil, nil, nil)
Copy link
Contributor

Choose a reason for hiding this comment

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

Right, there is no rank-based ordering for now.

IIUC this requires checking the type of the wrapped job and preparing configuration depending on this.
We could probably register some "rank-based ordering" factory by framework, and you could do the lookup here to construct the input.

However, this is substantially more work so I suggest it as a follow up.

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Feb 13, 2025
@k8s-ci-robot
Copy link
Contributor

LGTM label has been added.

Git tree hash: 1c4fb0c3033c03dcdca0779756054a79fa14a9c8

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dgrove-oss, 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 Feb 13, 2025
@k8s-ci-robot k8s-ci-robot merged commit adf5d97 into kubernetes-sigs:main Feb 13, 2025
19 checks passed
@k8s-ci-robot k8s-ci-robot added this to the v0.11 milestone Feb 13, 2025
@dgrove-oss dgrove-oss deleted the aw-tas branch February 13, 2025 11:16
dgrove-oss added a commit to dgrove-oss/kueue that referenced this pull request Feb 14, 2025
* implement TAS support in AppWrapper integration

* TAS e2e test for AppWrapper

* update integration feature table

* install appwrappers for TAS e2e tests
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. lgtm "Looks good to me", indicates that a PR is ready to be merged. 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.

3 participants