-
Notifications
You must be signed in to change notification settings - Fork 38.7k
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
Don't reuse memory of a restartable init container #120715
Don't reuse memory of a restartable init container #120715
Conversation
655d915
to
7113523
Compare
7113523
to
b4e5b86
Compare
/retest |
/test pull-kubernetes-node-e2e-containerd-sidecar-containers |
/retest |
/triage accepted |
Hello @gjkim42, just wonder, is this issue is something you're planning to work on? |
Yes, this PR is waiting for the reviewers. |
My bad I thought I'm commenting on the issue itself. |
/test pull-kubernetes-node-e2e-containerd-sidecar-containers |
/assign @mrunalp Could you take a look at this? This fixes a bug that regular containers reuse the sidecar container's memory resources. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: gjkim42, mrunalp 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 |
/lgtm |
LGTM label has been added. Git tree hash: e1cf3e72a244c969604b0231d99c06132b97e18c
|
What type of PR is this?
/kind bug
What this PR does / why we need it:
When memory-manager-policy is static and you create a guaranteed pod with a restartable init container,
a restartable init container shares its memory resources with a regular container.
This PR makes sure that a restartable init container does not share its memory resources with regular containers.
Which issue(s) this PR fixes:
Fixes #
xref #119442
Special notes for your reviewer:
Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: