-
Notifications
You must be signed in to change notification settings - Fork 295
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
Finalize Pods if StatefulSet is not found. #4150
Finalize Pods if StatefulSet is not found. #4150
Conversation
Skipping CI for Draft Pull Request. |
✅ Deploy Preview for kubernetes-sigs-kueue canceled.
|
83f5b60
to
b0d5f5c
Compare
7f9ce80
to
1905f9d
Compare
1905f9d
to
1c345bb
Compare
/cc @mimowo |
836f0e5
to
c0b5f6d
Compare
/cc @mszadkow |
/hold cancel
Actually, the pod is indeed owned directly by STS (tested without Kueue) |
7d63d33
to
b1e6a9f
Compare
I have nothing to add here, lgtm |
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.
/lgtm
/approve
Thanks!
/cherry-pick release-0.10 release-0.9
LGTM label has been added. Git tree hash: 7e0c03cc43f697cb30e8ecdabf0a427cda0e9e08
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: mbobrovskyi, 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 |
@mbobrovskyi please follow up with an analogous fix for LWS. |
/cherry-pick release-0.10 release-0.9 |
@mimowo: #4150 failed to apply on top of branch "release-0.10":
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-sigs/prow repository. |
@mbobrovskyi please also prepare the cherry-picks manually |
/cherry-pick release-0.9 |
@tenzen-y: #4150 failed to apply on top of branch "release-0.9":
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-sigs/prow repository. |
The release-0.9 branch is tricky because we don't have |
Oh, I see. In that case, I'm ok without cherry-picking to release-0.9 |
I'm not sure, let's consider options for 0.9:
out of the options 1 < 2 < 3. (3.) requires a bit of code that is not in the main branch, but I think it is still better than (1.) and (2.). |
I think that key point is which aspect is more valuable (performance vs leaving orphan pods issue). |
Right, to me correctness is also more important than performance. However, I believe with (3.) we can have both. I think the check for |
Yeah, one more problem is conflicts. What if we select (3.)? I want to compare the amount of conflicts between release-0.9 branch and main. |
I think the "fix" is very small, PTAL #4206 (comment). In this comment I also proposed to add a comment which will help us to resolve conflicts in the future I believe by clearly indicating why the code is added. |
commented in PR |
What type of PR is this?
/kind bug
What this PR does / why we need it:
Finalize Pods if StatefulSet is not found.
Which issue(s) this PR fixes:
Fixes #4160
Fixes #4138
Special notes for your reviewer:
Does this PR introduce a user-facing change?