-
Notifications
You must be signed in to change notification settings - Fork 228
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 MultiKueue support for JobSet #1606
Conversation
Skipping CI for Draft Pull Request. |
✅ Deploy Preview for kubernetes-sigs-kueue canceled.
|
0e9f94b
to
96189ed
Compare
/test all |
/hold for rebase after #1313 is merged |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
very initial pass, will continue once aligned with base PR
c964df6
to
1dbec50
Compare
/unhold |
LGTM label has been added. Git tree hash: 602d5d6b2a0e338bc6ef69f5054aa8476c08eeb8
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just minor things
/approve
return localClient.Status().Update(ctx, &localJob) | ||
} | ||
|
||
func (b *jobsetAdapter) DeleteRemoteObject(ctx context.Context, remoteClient client.Client, key types.NamespacedName) error { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This function doesn't seem to need any adaptation.
Can you explain why you need to "Get" the objects, instead of calling Delete directly?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This function doesn't seem to need any adaptation.
The adaption is needed due to the different job type.
Some alternative could be :
- keep the method and create a generic helper (but the helper will not do very much)
- do the deletion via unstructured (but it's harder to follow in my opinion)
Can you explain why you need to "Get" the objects, instead of calling Delete directly?
The caller only has the key of the job not the job object.
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: alculquicondor, trasc 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 |
/hold for nits |
17fa014
to
5aa8bba
Compare
/unhold |
/lgtm |
LGTM label has been added. Git tree hash: d53ca3af7d0119a0dd7a8cfa1dd62c42be1ef55f
|
/kind feature |
/release-note-edit
|
What type of PR is this?
/kind feature
What this PR does / why we need it:
Adds MultiKueue support for JobSet.
Which issue(s) this PR fixes:
Relates to #693
Special notes for your reviewer:
Does this PR introduce a user-facing change?