integ/kubernetes
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
..
armada Add support for building armada image 2022-06-15 19:29:09 +03:00
armada-helm-toolkit Debian: fix wrong checksums 2022-08-23 11:56:25 +08:00
chartmuseum meta_data.yaml: add sha256sum checksum 2022-03-03 14:30:40 +08:00
cni debian-pkg: Uprev cni plugins 2022-10-07 15:01:49 +00:00
containerd Debian: Backport commit to Reduce log clutter 2022-08-25 13:52:33 -07:00
crictl/debian meta_data.yaml: add sha256sum checksum 2022-03-03 14:30:40 +08:00
docker-distribution Disable docker-registry service 2022-04-05 12:48:02 +03:00
etcd meta_data.yaml: add sha256sum checksum 2022-03-03 14:30:40 +08:00
helm Add mapkubeapis helm plugin package 2022-08-19 10:33:22 -03:00
k8s-cni-cache-cleanup Debian: add package k8s-cni-cache-cleanup build files 2022-05-26 16:18:12 -03:00
k8s-pod-recovery k8s-pod-recovery: use src_path instead of dl_hook 2021-11-17 17:59:10 +08:00
kubernetes-1.18.1/centos/files Remove kubernetes 1.18, 1.19, 1.20 pkgs 2022-02-23 15:24:03 +00:00
kubernetes-1.21.8 Merge "Debian: Change k8s 1.21.8 package name" 2022-05-17 00:11:15 +00:00
kubernetes-1.22.5 Debian: Add k8s 1.22.5 package 2022-10-11 00:29:11 +00:00
kubernetes-1.23.1 Debian: Add metrics-server to platform namespaces 2022-08-16 16:51:20 +00:00
kubernetes-1.24.4/debian kubelet CFS quota throttling for non integer cpulimit 2022-12-01 04:03:22 -05:00
kubernetes-unversioned Add apiVersion to empty kubelet_override.yaml 2022-11-01 10:19:42 -04:00
n3000 n3000-opae: debian docker build fails 2022-09-07 22:28:14 +00:00
plugins Debian: Remove conf files from etc-pmon.d 2022-09-26 13:41:53 +00:00
runc/debian Debian: runc upversion to 1.0.2 2022-04-02 00:31:03 +00:00