TLDR Web Dev · ARTICLES & TUTORIALS

A DEEP DIVE INTO CPU REQUESTS AND LIMITS IN KUBERNETES

datadoghq.com16 min read

Summary from the TLDR Web Dev newsletter

This article explores the effects of CPU requests and limits in Kubernetes and the differences between the default CPU Manager policy and the static policy. To demonstrate these concepts, the article uses scenarios where setting CPU limits is advisable, such as benchmarking, multi-tenant environments, predictability, and Quality of Service (QoS) guarantees. It delves into the details of the CPU Manager's static policy, including how it assigns CPU cores to containers and the associated metrics to monitor.