Boovan Rajendran dd75f3ba3d kubelet CFS quota throttling for non integer cpulimit
A previous change set the cgroup cpu.cfs_quota_us value to -1 for
containers in pods in the Guaranteed QoS class.

We can only do this if we're allocating the entire CPU.  For non-
integer CPU allocations we need to set the cpu.cfs_quota_us value
to enforce the CPU limit configured on the container.

Test Plan:
Verified the pods that in the "Guaranteed" QoS class, on hosts that
have "kube-cpu-mgr-policy=static" have cpu.cfs_quota_us set to -1 for
integer cpu value.

Closes-Bug: 1997528

Signed-off-by: Boovan Rajendran <boovan.rajendran@windriver.com>
Change-Id: I33662e67706cee4cb0ce005bb09ce3b5fc717239
2022-12-01 04:03:22 -05:00
2022-06-06 06:27:54 +00:00
2022-10-08 21:50:14 -04:00
2019-01-08 11:42:04 -05:00
2019-04-19 19:52:31 +00:00
2021-09-09 19:05:36 +03:00
2018-05-31 07:36:35 -07:00

integ

StarlingX Integration

Description
StarlingX Integration and packaging
Readme 53 MiB
Languages
Shell 28.9%
Python 21.9%
JavaScript 20.7%
Perl 12.3%
Makefile 6.2%
Other 9.9%