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

Support kubeflow.org/tfjob #1068

Merged
merged 3 commits into from
Aug 18, 2023

Conversation

tenzen-y
Copy link
Member

What type of PR is this?

/kind feature

What this PR does / why we need it:

I added the tfjob-controller to the frameworkjob-manager.

Which issue(s) this PR fixes:

Part-of #297

Special notes for your reviewer:

Does this PR introduce a user-facing change?

Support kubeflow.org/tfjob

@k8s-ci-robot k8s-ci-robot added release-note Denotes a PR that will be considered when it comes time to generate release notes. do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. kind/feature Categorizes issue or PR as related to a new feature. labels Aug 17, 2023
@k8s-ci-robot k8s-ci-robot requested review from denkensk and trasc August 17, 2023 19:25
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: tenzen-y

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 cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. approved Indicates a PR has been approved by an approver from all required OWNERS files. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels Aug 17, 2023
@netlify
Copy link

netlify bot commented Aug 17, 2023

Deploy Preview for kubernetes-sigs-kueue canceled.

Name Link
🔨 Latest commit 981c37b
🔍 Latest deploy log https://app.netlify.com/sites/kubernetes-sigs-kueue/deploys/64dfc59fb089b20008b351ae

@tenzen-y tenzen-y mentioned this pull request Aug 17, 2023
2 tasks
@tenzen-y tenzen-y changed the title WIP: Support kubeflow.org/tfjob Support kubeflow.org/tfjob Aug 18, 2023
@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 Aug 18, 2023
@tenzen-y
Copy link
Member Author

/assign @trasc

@alculquicondor
Copy link
Contributor

I can take this one
/assign

})
})

var _ = ginkgo.Describe("Job controller for workloads when only jobs with queue are managed", ginkgo.Ordered, ginkgo.ContinueOnFailure, func() {
Copy link
Contributor

Choose a reason for hiding this comment

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

I would remove this test. It can be tested in unit. And it's already tested for other jobs.

Copy link
Member Author

Choose a reason for hiding this comment

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

Do other jobs mean kubeflowjobs?

Copy link
Contributor

Choose a reason for hiding this comment

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

Other jobs in general. But, I guess we can keep the test for PytorchJob

Copy link
Member Author

Choose a reason for hiding this comment

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

It makes sense.

Copy link
Member Author

Choose a reason for hiding this comment

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

Done.

util.ExpectAdmittedActiveWorkloadsMetric(clusterQueue, 1)
})

ginkgo.When("The workload's admission is removed", func() {
Copy link
Contributor

Choose a reason for hiding this comment

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

I would also remove this test for similar reasons as above.

Copy link
Member Author

Choose a reason for hiding this comment

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

Sure.

Copy link
Member Author

Choose a reason for hiding this comment

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

Done.

Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>
Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>
@tenzen-y tenzen-y force-pushed the support-kubeflow-tfjob branch from 43e5f28 to b96cffe Compare August 18, 2023 19:13
Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>
@tenzen-y
Copy link
Member Author

/label tide/merge-method-squash

@k8s-ci-robot k8s-ci-robot added the tide/merge-method-squash Denotes a PR that should be squashed by tide when it merges. label Aug 18, 2023
@tenzen-y
Copy link
Member Author

@alculquicondor I addressed your comments. PTAL.

@alculquicondor
Copy link
Contributor

/lgtm
Awesome!

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Aug 18, 2023
@k8s-ci-robot k8s-ci-robot merged commit da43e4e into kubernetes-sigs:main Aug 18, 2023
@k8s-ci-robot k8s-ci-robot added this to the v0.5 milestone Aug 18, 2023
@tenzen-y tenzen-y deleted the support-kubeflow-tfjob branch August 18, 2023 19:44
achernevskii pushed a commit to epam/kubernetes-kueue that referenced this pull request Sep 7, 2023
* Support kubeflow.org/tfjob

Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>

* Adapt tfjob to commonized kubeflowjob

Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>

* Remove duplicated integration test cases

Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>

---------

Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>
achernevskii pushed a commit to epam/kubernetes-kueue that referenced this pull request Sep 8, 2023
* Support kubeflow.org/tfjob

Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>

* Adapt tfjob to commonized kubeflowjob

Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>

* Remove duplicated integration test cases

Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>

---------

Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>
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/feature Categorizes issue or PR as related to a new feature. lgtm "Looks good to me", indicates that a PR is ready to be merged. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. tide/merge-method-squash Denotes a PR that should be squashed by tide when it merges.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants