An insight on CPU requests in Kubernetes

Giuseppe Crinò
Jan 19, 2023
  • CPU requests specify the amount of CPU a Pod will be allocated
  • If there not enough resources on your cluster to satisfy the CPU requests the pod won’t be scheduled
  • That means you should probably imagine the CPU requests as 100% of the CPU available to the pod
  • Anything after the requests can either run at full speed or be throttled (if nodes are already saturated)
  • Of course anything after the CPU limit (if specified) will be artificially throttled
  • The beauty of Docker and Kubernetes is that you can slice the CPU power in uneven pieces instead of allocating 1 machine per application

--

--