-
Notifications
You must be signed in to change notification settings - Fork 40.1k
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
Expose commit memory used in WindowsMemoryUsage struct #119238
Expose commit memory used in WindowsMemoryUsage struct #119238
Conversation
Hi @kiashok. Thanks for your PR. I"m waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
/ok-to-test |
/triage accepted |
/lgtm |
@SergeyKanzhelev @pacoxu Looks like another PR was merged 8 hours back that touches the proto files that this PR did causing some conflicts. The change log also needs to be modified to include this new PR. Working on these now. |
3290cfc
to
087b15a
Compare
@SergeyKanzhelev @pacoxu @markllama @jsturtevant Pushed new changes to resolve the conflict and add the new PR that was merged this morning. LGTMs have been reset. Could you please take a look? |
/lgtm |
LGTM label has been added. Git tree hash: d06abd3d60114e9ec311fbbd6ebbc308644645e9
|
need rebase again |
Signed-off-by: kiashok <[email protected]>
Signed-off-by: kiashok <[email protected]>
087b15a
to
1351845
Compare
Rebased again and updated the config log to include another change that was merged last night! Could you please take a look? @pacoxu @SergeyKanzhelev @marosset @jsturtevant |
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
LGTM label has been added. Git tree hash: dc77ebf3e2b1b00ed84108025df5c75361fbaffb
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: kiashok, marosset, mrunalp, pacoxu, SergeyKanzhelev 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 |
What type of PR is this?
/kind feature
What this PR does / why we need it:
This PR adds a field to track the commit memory usage bytes to container stats.
In Linux, a process is charged with memory usage only based on the total amount of physical memory (working set bytes) it uses. However, on Windows, the total physical and virtual memory (commit memory) currently in use by the process, is used to account for its total memory consumption.
Because of this, auto scaling windows containers etc should rely on the commit memory used rather than the working set memory. HCS surfaces the commit memory used to hcsshim but it isn"t getting tracked at the CRI layer. This PR will help to expose the total commit memory usage as part of container stats structure.
NOTE: The previous PR closed unexpectedly while rebasing to resolve conflicts. (Old PR - #117127)
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?
No
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:
/sig node
/sig windows
/cc @jsturtevant @marosset