Resource requests and limits

When you create a Pod, it is possible to specify how much compute resources its containers requirewe already performed a short exercise on assigning resources for the voting application in the last chapter. In general, compute resources are CPU and RAM memoryKubernetes is also able to manage other resources, such as HugePages on Linux or ephemeral storage on the local node.

The Kubernetes resource model provides an additional distinction between two classes of resources: compressible and incompressible. In short, a compressible resource can be easily throttled, without severe consequences. A perfect example of such a resource is the CPUif you need to throttle CPU usage for a given container, the container ...

Get Hands-On Kubernetes on Windows 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.