-
Notifications
You must be signed in to change notification settings - Fork 262
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
Add Job interface to restrain the behaviors of different Job implementations #369
Comments
That sounds great! |
I would also add some form of |
Does this mean the following? kueue/pkg/controller/workload/job/job_controller.go Lines 263 to 278 in 6e403b5
|
yes |
SGTM |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
/lifecycle frozen |
We have a plan to integrate with other workloads, also see #499, I'd like to write a design doc at first. |
I'm also working on the kubeflow project. So I'm thinking of giving feedback on the design doc since I'd like to support Kueue with training-operator and mpi-operator v2. |
Thanks @tenzen-y , when you're ready, plz also cc me, thanks. |
From the messages above, I'm not sure who is writing the design doc. It sounds like @kerthcet, is that correct? |
If @kerthcet doesn't have enough time, I can write it. |
Yes, I'm writing now, almost finished. |
Sounds great. |
@kerthcet do you have a draft to share? It might be beneficial to provide you feedback already. |
Oh, from slack, it seems that Kante is OOO until the end of the month |
Thank you for letting us know. |
FYI #537 KEP is ready for first round of review. |
This is completed /close |
@alculquicondor: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
What would you like to be added:
Currently, we have a default integrated implementation of batchv1 job, we achieve the expected behaviors by the experiences of kubernetes, and most importantly, we know the project well.
But for people who wants to implement a special controller in kueue, they have little knowledges and they may don't know where to start. Documents are great and always needed, but they're not binding.
So we should make a contract known as interface in golang, which defines the behaviors of the various jobs. E.g.:
And we can wrap batch job like below,
BatchJob
is an implement of kueue.JobWhy is this needed:
Completion requirements:
This enhancement requires the following artifacts:
The artifacts should be linked in subsequent comments.
The text was updated successfully, but these errors were encountered: