-
Notifications
You must be signed in to change notification settings - Fork 1.1k
[release-1.17] Revert "runtime_vm: Cleanup process when the Container is Stopped" #4145
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
Conversation
This reverts commit 67dcd05. We cannot simply delete the container when its status changes to stopped. The intention of this fix is okay-ish, but implemented in the wrong layer. What containerd does is calling Shutdown(), when the *pod* is finished, and that's what we should do as well. Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
@fidencio: The following tests failed, say
Full PR test history. Your PR dashboard. 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. I understand the commands that are listed here. |
Codecov Report
@@ Coverage Diff @@
## release-1.17 #4145 +/- ##
================================================
+ Coverage 44.66% 44.68% +0.01%
================================================
Files 90 90
Lines 7701 7698 -3
================================================
Hits 3440 3440
+ Misses 3964 3961 -3
Partials 297 297 |
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
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: fidencio, saschagrunert 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 |
@fidencio you said we should call shutdown() when the pod is finished. I don't see that change here, is it already present? |
Tom, no, it's not. It'll be a follow up patch coming soon. Right now I just want to unblock the 1.17.5 release by reverting this commit. |
/lgtm |
What type of PR is this?
/kind bug
What this PR does / why we need it:
This reverts commit 67dcd05.
We cannot simply delete the container when its status changes to
stopped. The intention of this fix is okay-ish, but implemented in the
wrong layer.
What containerd does is calling Shutdown(), when the pod is finished,
and that's what we should do as well.
Which issue(s) this PR fixes:
None
Special notes for your reviewer:
Does this PR introduce a user-facing change?