CPU & Memory resource limit for a POD

 In Uncategorized

Is there a suggested limit for setting the CPU and Memory resource limit for a pod

Obviously yes . The resource request should be near where the application run 100% of the time . The intention is you will need to operate near the request setting, tolerate spikes above that and stay out of ‘gray zone’ in between your request and limit. Example if it uses 500M memory, you could set the request to 750 including the buffer and limit could be 1G.

Kubernetes will kill the pods that run above the limit ( OOM ) and may kill pods running in the gray area, depending on whether it needs the resources or not

Recent Posts
Learn Devops

Become a Devops Engineer in 3 months