Skip to content
This repository has been archived by the owner on Mar 7, 2024. It is now read-only.

setup_node.sh turns off system swapping #35

Closed
EricAllman opened this issue Jun 21, 2018 · 1 comment
Closed

setup_node.sh turns off system swapping #35

EricAllman opened this issue Jun 21, 2018 · 1 comment

Comments

@EricAllman
Copy link
Collaborator

The setup_node.sh script turns off virtual memory swapping (using swapoff -a) and never turns it back on again. I assume this has something to do with making sure that $SECRET doesn't leak any information, but it does leave the system in a potentially different state after running the script.

@m-hemmings
Copy link
Collaborator

This is actually not a bug, exactly. As per this issue:
kubernetes/kubernetes#53533
Swap is not supported on worker nodes. I am monitoring that for a fix if it's implemented, but for how this is the reason swap is disabled.

@bsenel bsenel closed this as completed Mar 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants