A LimitRange in the reporting namespace sets max memory to 1Gi for containers. A developer submits a Pod requesting 4Gi of memory. What is the expected result?
Select an answer to reveal the explanation.
Short Explanation
LimitRange max is a per-container size check at the door. Ask for 4Gi when max is 1Gi and admission says no. The scheduler never gets a chance to “sort of” honor an oversized request.
Full Explanation
LimitRange maximum constraints are enforced at admission time. Pods whose container resource requests or limits exceed configured max values are denied. This protects namespaces from oversized individual workloads. Unlike scheduling failures, the object is not left Pending; the create or update fails immediately.