-
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
[pods] Consider deleted pods without spec.nodeName
inactive.
#2212
Conversation
Skipping CI for Draft Pull Request. |
✅ Deploy Preview for kubernetes-sigs-kueue canceled.
|
/cc @alculquicondor |
/test all |
IIUC the check isn't so much about "unschedulable" pods, but about pods which can never succeed. An "unscheduled" pod (without the node), which is deleted, can never be successful, so we should keep the replacement pod. Maybe we should consider a rename |
One can argue that the pod cannot succeed if it cannot run, additionally it very likely that |
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, just test-related comments
spec.nodeName
inactive.
/lgtm |
LGTM label has been added. Git tree hash: 7825bee9ffac2ede417bbc350f5510b55d0c4c59
|
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
just a nit
/release-note-edit
|
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
LGTM label has been added. Git tree hash: d4c54364afbcc22e95783f44c46e09d60b51309f
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: tenzen-y, 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 |
/cherry-pick release-0.6 |
@tenzen-y: once the present PR merges, I will cherry-pick it on top of release-0.6 in a new PR and assign it to you. 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. |
@tenzen-y: new pull request created: #2217 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. |
/release-note-edit
|
…netes-sigs#2212) * [pods] Consider Unschedulable pods inactive. * Review Remarks * Review Remarks * Fix unit tests * Review remarks * Review Remarks * Fix test nit.
What type of PR is this?
/kind bug
What this PR does / why we need it:
Consider deleted pods without
spec.nodeName
inactive and subject for pod replacement.Which issue(s) this PR fixes:
Fixes #2208
Special notes for your reviewer:
Does this PR introduce a user-facing change?