5 ms·
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.
by docandrew 2y ago
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.
- johannes1234321 2y agoI 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.
- docandrew 2y agoYup, first-class support has been coming: https://kubernetes.io/blog/2023/08/24/swap-linux-beta/ https://kubernetes.io/blog/2023/08/24/swap-linux-beta/