Re:Kubernetes: Make your services faster by removing CPU limits
by alex88 on Wednesday September 02, 2020 @08:19AM
(#24352485)
If you remove the cpu limit you won't be able to use HPA though, right?
[ Parent
| on HN ]
Re:Kubernetes: Make your services faster by removing CPU limits
by sciurus on Wednesday September 02, 2020 @08:31AM
(#24352569)
No, you still have a CPU request, and the HPA is based on utilization of that.
Also, even without limits I believe CPU is prioritized based on the request. So if 1 pod requests 100 millicpu and another pod requests 200 millicpu, if they both try to use all the CPU on a node the one that requested 200 millicpu will use 2/3 of the CPU and the other will use 1/3.