-
Notifications
You must be signed in to change notification settings - Fork 39.6k
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
cpu/memory manager containerMap memory leak #109103
Conversation
/sig node |
/assign @klueska as well. |
We cannot do what you propose here. We used to do what you are doing, but it causes issues when containers are restarted (within a still running pod). We need to maintain the We may indeed have a memory leak for the case of the |
got restart scene, i will try another method to solve it |
3fbcee7
to
0cb28b8
Compare
@klueska find another method to slove this leak, Can you take a look at this PR again? thanks a lot. |
/release-note-none |
Can we add this to v1.24 milestone? @rphillips @liggitt |
Bugfixes can be merged during code freeze if impact/risk is justified. Is this a regression? (looks like not, since there are cherry-picks open) What is the risk of the fix? Is it changing feature-gated or optionally executed code? If so, what feature gate or opt-in configuration exposes the bug? |
I also wouldn't expect us to take a change without accompanying tests |
sorry, careless close pr, reopen now |
cpu manager default policy is none, if pod repeated create and delete, kubelet memory will keep growing. |
The Kubernetes project has merge-blocking tests that are currently too flaky to consistently pass. This bot retests PRs for certain kubernetes repos according to the following rules:
You can:
/retest |
@Dingshujie Since the project is in a frozen state, the criteria is does the PR fix a regression within the 1.24 release. Waiting for the thaw minimizes churn/bugs/regressions added during the release process. |
ok, let's wait for 1.24 released. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Dingshujie, klueska, yanghesong 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 |
This will be included in 1.25. So a cherry-pick PR for 1.24 will be needed as well. (It is ok to open one after v1.24 is released. https://github.com/kubernetes/kubernetes/tree/release-1.24 is not ready yet.) |
i will propose a pr for release-1.24 |
…09103-upstream-release-1.21 Automated cherry pick of #109103: cpu manager policy set to none, no one remove container id
…09103-upstream-release-1.22 Automated cherry pick of #109103: cpu manager policy set to none, no one remove container id
…09103-upstream-release-1.24 Automated cherry pick of #109103: cpu manager policy set to none, no one remove container id
…09103-upstream-release-1.23 Automated cherry pick of #109103: cpu manager policy set to none, no one remove container id
What type of PR is this?
/kind bug
What this PR does / why we need it:
if cpu manager/ memory manager policy set to none, no one remove container info from containerMap, finaly lead memory leak.
this pr call cpu manager/memory manager RemoveContainer in PostStopContainer, to remove container info from containerMap
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: