-
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 |
Unit test failures don't seem related. |
ae0aa4d
to
3e21de7
Compare
/test pull-kubernetes-unit |
[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 |
3e21de7
to
839ec3e
Compare
Signed-off-by: Itamar Holder <[email protected]>
Signed-off-by: Itamar Holder <[email protected]>
Signed-off-by: Itamar Holder <[email protected]>
839ec3e
to
fed4df0
Compare
@iholder101: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. 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. I understand the commands that are listed here. |
@ajaysundark Is this ready for an LGTM from your side? |
/lgtm |
LGTM label has been added. Git tree hash: 02a2f580528c6cafa7014f1fb20034ff3e2c5425
|
seems unrelated
|
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.: