Introducing LimitRange
LimitRange is another object that is similar to ResourceQuota as it is created at the namespace level. The LimitRange object is used to enforce default requests and limit values to individual containers. Even by using the ResourceQuota object, you could create one object that consumes all the available resources in the namespace, so the LimitRange object is here to prevent you from creating too small or too large containers within a namespace.
Here is a YAML file that will create LimitRange:
# ~/limitrange.yaml apiVersion: v1 kind: LimitRange metadata:   name: my-limitrange spec:   limits:   - default:       memory: 256Mi       cpu: 500m     defaultRequest:       memory: 128Mi       cpu: 250Mib     max:       memory: 1000Mi   ...