14LIMITS AND QUOTAS

image

For our cluster to provide a predictable environment for applications, we need some control over what resources each individual application component uses. If an application component can use all of the CPU or memory on a given node, the Kubernetes scheduler will not be able to allocate a new Pod to a node confidently, as it won’t know how much available space each node has.

In this chapter, we’ll explore how to specify requested resources and limits to ensure that containers get the resources they need without impacting other containers. We’ll inspect individual containers at the runtime level so that we can see how Kubernetes ...

Get The Book of Kubernetes now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.