Resource requests and limits
Definition
A resource request is the amount of CPU and memory reserved for a container and used for scheduling; a limit is the ceiling enforced at runtime, with CPU above it throttled and memory above it OOM-killed.
In practice
The scheduler places pods by comparing requests with each node's allocatable capacity, not with live usage. That makes placement predictable and lets it pack (bin packing) or spread pods by policy. A pod fits only if one node has room for its whole request, so free capacity scattered across nodes can leave pods Pending.
Requests set too low overcommit nodes, so pods compete for CPU or are OOM-killed under load; requests set too high waste money and strand capacity. Set them from measured usage, keep memory limits close to requests, and be cautious with CPU limits, which cause throttling and latency spikes even on idle nodes.
Example
Nodes have 4 vCPUs allocatable and each has 1.5 vCPUs free: the cluster has 6 vCPUs free in total, yet a pod requesting 2 vCPUs stays Pending.