4 ms·
Yes, in k8s it's different and I agree swap should be avoided in that case But still, you could end up with a case where your pods start using a little bit mor
by raverbashing 7y ago
Yes, in k8s it's different and I agree swap should be avoided in that case
But still, you could end up with a case where your pods start using a little bit more memory (for a while) and getting killed by OOM
- zzzcpan 7y agoOn linux there is the best of both worlds approach. You can use zram for swap and userspace OOM killer, like earlyoom. If processes start using a bit more memory or leaking they won't get killed and nothing will slow down much, but will get killed if things start to go too far to cause performance problems.