Skip to content
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

[release/1.6] cri: make swapping disabled with memory limit #7815

Merged
merged 1 commit into from Dec 14, 2022

Commits on Dec 14, 2022

  1. cri: make swapping disabled with memory limit

    OCI runtime spec defines memory.swap as 'limit of memory+Swap usage'
    so setting them to equal should disable the swap. Also, this change
    should make containerd behaviour same as other runtimes e.g
    'cri-dockerd/dockershim' and won't be impacted when user turn on
    'NodeSwap' (kubernetes/enhancements#2400) feature.
    
    Signed-off-by: Qasim Sarfraz <qasimsarfraz@microsoft.com>
    (cherry picked from commit 69975b9)
    Signed-off-by: Qasim Sarfraz <qasimsarfraz@microsoft.com>
    mqasimsarfraz committed Dec 14, 2022
    Configuration menu
    Copy the full SHA
    be6ef22 View commit details
    Browse the repository at this point in the history