liveBook · Manning

Resource request

A resource request is a Kubernetes container setting that specifies the amount of compute or memory resource required for scheduling and resource accounting.

How 2 Manning books explain it

Kubernetes for Developers

A resource request is the amount of a particular compute resource that a Kubernetes container is expected to need for scheduling and resource accounting.

How it is used
Guides Kubernetes Pod scheduling and resource accounting while helping production workloads avoid placement without regard to their needs.
How deep it goes
Shows Deployment YAML syntax and a measurement procedure for sizing CPU and memory requests, then discusses bursting and eviction.
Examples
Uses a Deployment requesting `200m` CPU and `250Mi` memory, `kubectl top` observations, and low-traffic websites sharing CPU.
What you can do after
Operate/configure it by measuring Pod usage, setting CPU and memory requests, and revising them when evictions or performance reveal a mismatch.

Read how Kubernetes for Developers explains resource request →

Acing the Certified Kubernetes Administrator Exam, Second Edition

A CPU request is the amount of CPU capacity that a container requires for scheduling and resource-utilization calculations.

How it is used
Guides pod scheduling by declaring the CPU and memory capacity needed for placement and utilization calculations.
How deep it goes
Defines CPU and memory minimums, YAML placement, optional limits, automatic defaults, and HPA baseline behavior.
Examples
Uses nginx YAML, a 10m CPU request, kubectl apply, and kubectl output verification.
What you can do after
Operate/configure pods by editing resource requests, applying YAML with kubectl, and verifying scheduling-related configuration.

Read how Acing the Certified Kubernetes Administrator Exam, Second Edition explains resource request →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.