5 lines
121 B
Bash
5 lines
121 B
Bash
# kubelet requires swap off
|
|
swapoff -a
|
|
# keep swap off after reboot
|
|
sudo sed -i '/\bswap\b/ s/^\(.*\)$/#\1/g' /etc/fstab
|