-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
in cgroup v2, memory.max_usage_in_bytes can be replaced by memory.peak #4782
Conversation
/lgtm |
/assign @dchen1107 @mrunalp @derekwaynecarr |
@@ -135,7 +135,7 @@ Below is a table describing which stats come from what source now, as well a pro | |||
| |N/A |container_memory_failcnt |N/A |cAdvisor |CRI or N/A | memory.failcnt N/A | |||
| |N/A |container_memory_failures_total |N/A |cAdvisor |CRI or N/A | (memory.stat) pg_fault && pg_maj_fault | | |||
| |N/A |container_memory_mapped_file |N/A |cAdvisor |CRI or N/A | (memory.stat) mapped_file | (memory.stat) file_mapped | |||
| |N/A |container_memory_max_usage_bytes |N/A |cAdvisor |CRI or N/A | memory.max_usage_in_bytes | memory.max | |||
| |N/A |container_memory_max_usage_bytes |N/A |cAdvisor |CRI or N/A | memory.max_usage_in_bytes | memory.peak |
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.
should it be conditioned depending on a kernel version than?
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.
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.
No kernel version are mentioned in the KEP, so I added the link and kernel version in commit message.
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.
My ask is to mention the minimum kernel version in this KEP readme.
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.
Updated.
- added since kernel 5.19 in torvalds/linux@8e20d4b
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
/assign @mrunalp @dchen1107 |
@giuseppe @kolyshkin ptal |
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
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: giuseppe, 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 |
xref #2371
torvalds/linux@8e20d4b