Definition:
Constraints on resource limits and requests:
- The administrator creates a LimitRange in a Kubernetes Namespace
- if objects (such as pod or PersistentVolumeClaims) do not set resource req, the default LimitRange is applied
- LimitRange tracks usage to ensure that objects donot exceed resource miimum, maximum and ratio
- if creating an object that is outside of limitrange, api server will return 403
LimitRange and admission checks for Pods
API
LimitRangeSpec
- limits:
- type:
- default: map[string]Quantity
- defaultRequest
- max
- maxLimitRequestRatio
- min
LimitRangeList