advancedResource Management: Requests, Limits, QoS Classes & OOMKilled

What's the difference between what a resource request does versus what a resource limit does?

A request is what the Scheduler uses to decide which node has enough capacity to place a Pod — it's a scheduling-time guarantee. A limit is the runtime maximum a container may consume; exceeding a CPU limit throttles the process, while exceeding a memory limit gets the container killed (OOMKilled) outright.

This is a Pro chapter

Sign in, then upgrade to Pro or Power to unlock this and the full DevOps Mastery library.

What's the difference between what a resource request does versus what a resource limit does?

Next Step

Continue to Why does a container get OOMKilled even though the node it's running on has plenty of free memory?← Back to all Kubernetes questions