Introduction
Sometimes, your app needs a certain amount of memory to run well. Kubernetes lets you tell it the minimum memory your app needs and the maximum it can use. This helps keep your app stable and prevents it from using too much memory on the server.
When you want to make sure your app always has enough memory to work without crashing.
When you want to stop your app from using too much memory and slowing down other apps on the same server.
When you run many apps on one server and want to share memory fairly between them.
When you want Kubernetes to decide which apps to stop or restart if memory runs low.
When you want to avoid unexpected app crashes caused by memory shortages.