Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Disabling swap is recommended on k8s nodes, since the idea there is to schedule workloads to use up the actual RAM/CPU of the box.


I think it is generally a good thing to do on any dedicated machine.

But for some things, especially with some k8s uses, overprovisioning can be okay. Some stuff just needs to run somewhere where cost of swiping in or out is lower than cost by provisioning more/bigger machines or cost of scaling from zero to one and back.


Yup, first-class support has been coming: https://kubernetes.io/blog/2023/08/24/swap-linux-beta/




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: