alexellis/k8s-on-raspbian

Update swap disable instructions in GUIDE.md

Closed this issue · 5 comments

Follow @davidcollom's comment in #16.

swap would be enabled after each boot: sudo systemctl disable dphys-swapfile followed by a reboot, fixed this.

Do you want to send a PR for this? Make sure you sign off the commit with git commit -s

See also k3s as the recommended K8s for ARMHF.

I see a note here: sudo systemctl disable dphys-swapfile

But the documentation shows:

Turn off swap:

$ sudo dphys-swapfile swapoff && \
  sudo dphys-swapfile uninstall && \
  sudo update-rc.d dphys-swapfile remove

Are you saying that uninstalling and removing the unit file means it gets enabled on reboot?

@alexellis, when I was following the guide from medium I found that after raspberry reboot sudo swapon --summary command shows one swap enabled and I had to apply these swap disable instructions again.

Wow he's completely ripped off my materials without crediting the source, this happens a lot and I don't think people understand copyright at all.

https://medium.com/nycdev/k8s-on-pi-9cc14843d43

I've added the command as suggested.