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

cri: make swapping disabled with memory limit #7783

Merged
merged 1 commit into from
Dec 13, 2022

Commits on Dec 8, 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>
    mqasimsarfraz committed Dec 8, 2022
    Configuration menu
    Copy the full SHA
    69975b9 View commit details
    Browse the repository at this point in the history