-
Notifications
You must be signed in to change notification settings - Fork 40.9k
[KEP-2400] Add a container_swap_limit_bytes metric #132348
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
base: master
Are you sure you want to change the base?
[KEP-2400] Add a container_swap_limit_bytes metric #132348
Conversation
This issue is currently awaiting triage. If a SIG or subproject determines this is a relevant issue, they will accept it by applying the The 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-sigs/prow repository. |
@iholder101: GitHub didn't allow me to request PR reviews from the following users: yuanwang04. Note that only kubernetes members and repo collaborators can review this PR, and authors cannot review their own PRs. In response to this: 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-sigs/prow repository. |
79cf3a2
to
4a51da3
Compare
/test pull-kubernetes-unit-windows-master |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: ajaysundark, iholder101 The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
839ec3e
to
fed4df0
Compare
@ajaysundark Is this ready for an LGTM from your side? |
/lgtm |
LGTM label has been added. Git tree hash: 02a2f580528c6cafa7014f1fb20034ff3e2c5425
|
seems unrelated
|
small nit that I don't think needs addressing /lgtm |
/lgtm Thanks for adding this |
@yuanwang04: changing LGTM is restricted to collaborators In response to this:
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-sigs/prow repository. |
fed4df0
to
5b35a51
Compare
5b35a51
to
404b885
Compare
Signed-off-by: Itamar Holder <[email protected]>
Signed-off-by: Itamar Holder <[email protected]>
Signed-off-by: Itamar Holder <[email protected]>
404b885
to
fed3322
Compare
/retest |
/lgtm |
LGTM label has been added. Git tree hash: 778e43f05c4e5a310aaa4ee00ef1167f9d325f15
|
What type of PR is this?
/kind feature
/sig node
What this PR does / why we need it:
Swap metrics were originally added as part of #118865.
This PR adds a
container_swap_limit_bytes
to report the calculated swap limit for each container and be available at the/metrics/resource
endpoint.After this is merged, we can consider adding this as part of
kubectl top pod/node --show-swap
, as a follow-up to #129458.Which issue(s) this PR is related to:
Fixes #132228
Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: