-
Notifications
You must be signed in to change notification settings - Fork 64
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
how to control swap? #15
Comments
There seems to be an ongoing discussion related to swap in nomad docker containers. It will be best to let the user decide about it, so i'll simply expose two more driver specific configuration options. |
@onlyjob i added more options: memory_reservation, memory_swap and memory_swappiness. Again there is a readme snipped and a unit test. I did not set a default swappiness. |
You are the champion, Thomas. Thank you. I'll test shortly. Perhaps all the new features since 0.0.1 qualify for new release... |
|
One of my containers uses swap heavily...
Is there a way to pass
--memory-swap
and/or--memory-swapiness
to Podman in order to restrict swap usage?The text was updated successfully, but these errors were encountered: