Alicloud node memory Requested/Limited/Used Alicloud node memory Requested/Limited/Used kubernetes kubernetes

Alicloud node memory Requested/Limited/Used


To be honest I cant find any relevant information where are your current default limits come from.. but anyway you should solve your issue somehow.

I can suggest you manually set required limits to avoid OOMs in future. What you will need to do - is to calculate approximate resource usage and correctly apply limits

This can help:

Kubernetes: Assign Memory Resources and Limits to Containers, especially this part

LimitRange for Memory

Kubernetes administrators can define RAM limits for their nodes.

These limits are enforced at higher priority over how much RAM yourPod declares and wants to use.

Let's define our first LimitRange : 25Mi RAM as min, 200Mi as max.

nano myRAM-LimitRange.yamlapiVersion: v1kind: LimitRangemetadata:  name: my-ram-limitspec:  limits:  - max:      memory: 200Mi    min:      memory: 25Mi