I have a deployment with memory limits
resources:
limits:
memory: 128Mi
But my app starts to fail when it is near to the limit, so, there is any way to restart the pod before it reaches a percentage of the memory limit?
For example if the limit is 128Mi, restart the pod when it reach 85% of it.