Instead of specifying resources like cpu and memory in every container spec of a pod defintion, we can provide the default CPU & Memory for all containers in a namespace using LimitRange
apiVersion:v1kind:ResourceQuotametadata:name:ns-resource-quotanamespace:dev3spec:limits:-default:memory:"512Mi"# If not specified the Container's memory limit is set to 512Mi, which is the default memory limit for the namespace.cpu:"500m"# If not specified default limit is 1 vCPU per container defaultRequest:memory:"256Mi"# If not specified default it will take from whatever specified in limits.default.memorycpu:"300m"# If not specified default it will take from whatever specified in limits.default.cputype:Container