Memory management settings to prevent OOM kills in Kubernetes

Hello!

If you look back at Oleksii’s talk you will see that one of his points is that you can’t set these type of settings per container/cgroup in Kubernetes (side note - he’s actually at PGConf this week too!).

You can set them on the underlying OS, but in your case that is probably not an option either as you’re running Azure Kubernetes which won’t let you play with the underlying nodes. This would also mean those settings were global which you might not always want.

What are the memory request and limit settings you’re using?