Ch. 14 · Kubernetes

Kubernetes Requests, Limits and Scheduling

Kubernetes Requests, Limits and Scheduling. Learn the reasoning, a practical example, common mistakes and an interview exercise.

~2 min readbeginnerupdated Oct 3, 2026

Requests inform scheduling and resource allocation; limits constrain usage with resource-specific behavior. Accurate sizing requires observed demand.

Before you start

You should understand Pods, Deployments and Services. Read desired configuration separately from observed cluster state. Use a development cluster when trying changes, and inspect events and status rather than assuming that an accepted manifest means the workload is ready to serve traffic.

The practical goal is to reason through this situation: A Pod may remain pending when its requested resources fit no eligible node. Read the walkthrough first, then try the interview exercise before opening its answer. The important part is explaining the decision and its consequences, rather than remembering a definition alone.

Step-by-step walkthrough

Step 1: Inspect pending reasons

Read scheduling events before changing container limits blindly.

Step 2: Compare eligibility and capacity

Requests, affinities and node availability jointly constrain placement.

Step 3: Size from observation

Low requests can schedule successfully while creating contention later.

Worked scenario

A Pod may remain pending when its requested resources fit no eligible node.

A Pod requests 8Gi of memory while no eligible node has that allocatable capacity. Raising its limit does not solve scheduling. Reducing the request arbitrarily may get it placed but cause a capacity problem under real load; either provide suitable capacity or justify sizing from measured requirements.

Common mistake

Setting very low requests can produce excessive contention even if scheduling succeeds.

Verify the behavior

Compare requested resources with eligible node allocatable capacity and representative peak demand.

Interview exercise

Investigate a pending Pod.

Answer and reasoning

Read scheduling events and compare requests, node capacity, affinity and other placement constraints.

Continue learning

Compare the scenario with the Kubernetes interview questions and test your understanding with the Kubernetes MCQs. For terminology and implementation details, consult the reference material.

More in Kubernetes

read ✓Kubernetes · mid

Kubernetes ConfigMap Update Behavior

Understand why ConfigMap changes reach volumes but not environment variables, and how to roll a Deployment deliberately.

~2 min readread →
read ✓Kubernetes · mid

Kubernetes emptyDir Volumes

Share scratch space between containers in a pod with emptyDir, choose the backing medium, and bound its size.

~2 min readread →
read ✓Kubernetes · hard

Kubernetes Gateway API for Ingress

Route traffic with GatewayClass, Gateway and HTTPRoute, and understand how the Gateway API improves on Ingress.

~2 min readread →
esc