Swap Off - why is it necessary?

Just a generic question about this. I saw this command in a tutorial but I’m not sure why it’s there?

swapoff -a && sed -i ‘/ swap / s/^/#/’ /etc/fstab

If you run nodes with (traditional to-disk) swap, you lose a lot of the isolation properties that make sharing machines viable. You have no predictability around performance or latency or IO.

1 Like

The discussion about this is in this issue https://github.com/kubernetes/kubernetes/issues/53533

1 Like