Public-health students deploy apps without resource fields. How can the namespace automatically supply default container CPU and memory at admission?
Select an answer to reveal the explanation.
Short Explanation
LimitRange is the namespace's defaulting ruler—admit a Pod with missing resources and it can fill in defaults or reject out-of-bounds values. PDBs and Ingress annotations are not resource defaulting tools.
Full Explanation
LimitRange objects apply per-namespace defaults and min/max constraints for container (and other) resources at admission time. That helps education or multi-tenant namespaces where submitters omit requests and limits. PodDisruptionBudgets, PriorityClass, and Ingress annotations do not perform that admission defaulting role.