-
Notifications
You must be signed in to change notification settings - Fork 40.9k
[KEP-2400] [POC] [NOT FOR MERGE]: Swap-aware memory eviction with no additional APIs #129223
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] [POC] [NOT FOR MERGE]: Swap-aware memory eviction with no additional APIs #129223
Conversation
Skipping CI for Draft Pull Request. |
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. |
/test ? |
@iholder101: The following commands are available to trigger required jobs:
The following commands are available to trigger optional jobs:
Use
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. |
5463864
to
b9b5902
Compare
PR is not ready for review yet. /uncc @bobbypage @deads2k |
fa066e6
to
dc4a5c2
Compare
2de54de
to
fe71417
Compare
/test pull-kubernetes-node-swap-conformance-fedora-serial |
1ee6584
to
0b1a7b0
Compare
/test pull-kubernetes-node-swap-conformance-fedora-serial |
0b1a7b0
to
978fe22
Compare
/test pull-kubernetes-node-swap-conformance-fedora-serial |
1 similar comment
/test pull-kubernetes-node-swap-conformance-fedora-serial |
8926ab8
to
81bca32
Compare
This small refactor: - Adds swap log statistics. - Adds a post pressure validation function. - Adds a pre pods modification function. The later can be used in order to perform validation on the given pod right after a pressure condition is met, or to perform changes to pods before creation. Signed-off-by: Itamar Holder <[email protected]>
Signed-off-by: Itamar Holder <[email protected]>
Signed-off-by: Itamar Holder <[email protected]>
Turn swap on and off and sleep for a few seconds. This helps stabalize the tests which will start with a fresh unused swap space. Signed-off-by: Itamar Holder <[email protected]>
Signed-off-by: Itamar Holder <[email protected]>
Signed-off-by: Itamar Holder <[email protected]>
Accessible swap is the amount of swap that is accessible by Kubernetes pods, according to the LimitedSwap swap behavior. This PR treats accessible swap as an additional node memory capacity in the context of the eviction manager making memory signal observesations. Signed-off-by: Itamar Holder <[email protected]>
81bca32
to
e8c2306
Compare
/test pull-kubernetes-node-swap-conformance-fedora-serial |
This PR treats used swap memory as an additional memory usage in the context of the eviction manager ranking pods for eviction. In addition, a pod's accessible swap is considered as an additional memory request. Signed-off-by: Itamar Holder <[email protected]>
e8c2306
to
24797ab
Compare
PR needs rebase. 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. |
The Kubernetes project currently lacks enough contributors to adequately respond to all PRs. This bot triages PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
What type of PR is this?
PR is still in a testing phase. Please do NOT review until it gets out of draft.
/kind feature
What this PR does / why we need it:
To be filled.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: