Book icon

Limit Range

Limit Range can be applied to a Kubernetes Namespace to control minimal and maximal CPU and memory limits per pod. Default resource limit can be applied to pods on creation. Namespace default has some limits configured. If you remove Limit Range resource from default namespace it will be applied again on Kubernetes update.

Limit Range problem message

If you see a message like the one below

message: 'unable to create pods: pods "pod-name-942701913-" is forbidden:
 failed quota: quota-name: must specify requests.cpu,requests.memory'

then you should check the namespace limits

kubectl describe namespace NAMESPACE_NAME

Abbreviated alias: limits

Useful links

CPU and memory limits in Kubernetes –