Open
Description
Enhancement Description
- One-line enhancement description (can be used as a release note): Kubernetes nodes support swap memory.
- Kubernetes Enhancement Proposal: https://github.com/kubernetes/enhancements/tree/master/keps/sig-node/2400-node-swap
- Discussion Link: https://docs.google.com/document/d/1CZtRtC8W8FwW_VWQLKP9DW_2H-hcLBcH9KBbukie67M/edit# Kubelet/Kubernetes should work with Swap Enabled kubernetes#53533
- Primary contact (assignee): @iholder101 @kannon92 @pacoxu
- Responsible SIGs: Node
- Enhancement target (which target equals to which milestone):
- Alpha release target (x.y): 1.22
- Beta1 release target (x.y): 1.28
- Beta2 release target (x.y): 1.29-1.31
- Beta3 release target (x.y): 1.33
- Stable release target (x.y): 1.34
- Alpha
- KEP (
k/enhancements
) update PR(s): Node system swap support #2602 - Code (
k/k
) update PR(s):- CI/test infra changes: Setup new node image with swap enabled test-infra#22602 Add swap periodics for node test-infra#22809
- CRI and kubelet changes Alpha node swap support kubernetes#102823
- Docs (
k/website
) update PR(s): KEP-2400: Alpha node support for swap memory website#28838
- KEP (
- Beta1
- KEP (
k/enhancements
) update PR(s): - Issues and Code (
k/k
) update PR(s):- Support cgroups v2 with auto-calculated LimitedSwap for Burstable QoS pods
- Add Swap stats to
/stats/summary
and/metrics/resource
- Determine a set of metrics for measuring node performance with swap enabled
- Improve test coverage and make sure tests are green
- Docs (
k/website
) update(s): - Misc
- Archive / Outdated
- KEP (
- Beta2
- KEP (
k/enhancements
) update PR(s): - Issues and Code (
k/k
) update PR(s):Add swap conformance tests kubernetes#122175Fail Kubelet at startup if swap is configured with cgroup v1 kubernetes#122241- 1.30
- 1.31
- [Swap][Tests][KEP-2400] Add swap serial stress tests, improve NodeConformance tests and adapt NoSwap behavior kubernetes#123557
- [KEP-2400] Avoid logging that swap cgroup controller is missing for every container kubernetes#123749
- 1.31 [KEP-2400] Mount tmpfs memory-backed volumes with a noswap option if supported kubernetes#124060
- 1.31 [KEP-2400]: Restrict access to swap for containers in high priority Pods kubernetes#125277
- 1.31 [KEP-2400]: Swap e2e tests: skip swap stress tests if swap is not provisioned kubernetes#125402
- Docs (
k/website
) update(s):
- KEP (
- Beta3
- KEP (
k/enhancements
) update PR(s): [KEP-2400] swap updates, beta3 graduation and GA criterias #4701 - Issues and Code (
k/k
) update PR(s):- [KEP-2400] [failing-test] resource metrics e2e tests: expect swap node and container level stats kubernetes#130053
- [KEP-2400] [Bugfix]: Ensure container-level swap metrics are collected kubernetes#129486
- [KEP-2400] Report swap capacity as part of node.status.nodeSystemInfo kubernetes#129954
- [KEP-2400]: Swap-aware memory eviction (with no additional APIs) kubernetes#129578
- [KEP-2400] kubectl top: add a --show-swap option kubernetes#129458
- Docs (
k/website
) update(s):
- KEP (
- GA (related PRs, can be assigned to a specific track later)
- KEP (
k/enhancements
) update PR(s): - Issues and Code (
k/k
) update PR(s):- [KEP-2400] [Swap] [Discussion]: Add swap as a ResourceName for pod spec resources API kubernetes#120801
- [KEP-2400] [Swap]: Verify memory pressure behavior with swap enabled kubernetes#120800
- [KEP-2400] [Swap]: SwapConformance e2e testing kubernetes#120798.
- [KEP-2400] Address swap impact on memory-backed volumes kubernetes#105978
- Add a test for OOMKilled for LimitedSwap kubernetes#121820
- Add the ability to set a system-reserved quantity of swap on a node
- [KEP-2400] [Swap] Add the ability to set a system-reserved quantity of swap on a node kubernetes#120802
-
[KEP-2400] Add the ability to set a system-reserved quantity of swap on a node kubernetes#105019dup by 120802 add --system-reserved support for swap(cgroup v2 only): only for burstable pods kubernetes#105271
Fail Kubelet at startup if swap is configured with cgroup v1 kubernetes#119327- [Swap Feature] Investigate what happens if a cluster has some swap enabled nodes and others that are not enabled. kubernetes#122279
- Docs (
k/website
) update(s):
- KEP (
Please keep this description up to date. This will help the Enhancement Team to track the evolution of the enhancement efficiently.
/sig node
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Major Change
Status
Removed From Milestone
Status
Tracked
Status
Removed from Milestone
Status
Tracked for Doc Freeze
Status
Removed from Milestone
Status
Removed