kubernetes/pkg/kubelet/cm
Kubernetes Submit Queue 5e2ce3aaf2 Merge pull request #53122 from resouer/fix-cpu
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Eliminate extra CRI call during processing cpu set

**What this PR does / why we need it**:

Encountered this during `kubernetes/frakti` node e2e test.

When cpuset is not set, there's still plenty of `runtime.UpdateContainerResources` been called, which seems unnecessary.

cc @ConnorDoyle Make sense? Fixes: #53304

**Special notes for your reviewer**:

**Release note**:

```release-note
Only do UpdateContainerResources when cpuset is set 
```
2017-10-01 15:30:56 -07:00
..
cpumanager Elimenate extra CRI call 2017-09-30 16:51:32 +08:00
cpuset Un-revert "CPU manager wiring and none policy" 2017-09-04 07:24:59 -07:00
util update cadvisor, docker, and runc godeps 2017-09-05 12:38:57 -07:00
BUILD Kubelet changes to support hugepages 2017-09-05 09:46:08 -04:00
cgroup_manager_linux_test.go stop double encoding systemd style cgroup names 2017-02-21 16:34:21 -05:00
cgroup_manager_linux.go update cadvisor, docker, and runc godeps 2017-09-05 12:38:57 -07:00
cgroup_manager_test.go move KubeletConfiguration out of componentconfig API group 2017-08-15 08:12:42 -07:00
cgroup_manager_unsupported.go kubelet: enable qos-level memory request reservation 2017-03-02 15:04:13 -06:00
container_manager_linux_test.go Share /var/lib/kubernetes on startup 2017-08-30 16:45:04 +02:00
container_manager_linux.go Fixed nil InternalContainerLifecycle in cm stubs. 2017-09-04 07:24:59 -07:00
container_manager_stub.go Fixed nil InternalContainerLifecycle in cm stubs. 2017-09-04 07:24:59 -07:00
container_manager_unsupported_test.go Make *fakeMountInterface in container_manager_unsupported_test.go implement mount.Interface again. 2017-09-04 21:48:55 -07:00
container_manager_unsupported.go Fixed nil InternalContainerLifecycle in cm stubs. 2017-09-04 07:24:59 -07:00
container_manager_windows.go Fix Start signature in container_manager_windows. 2017-09-04 07:24:59 -07:00
container_manager.go fix the bad code comment and make the format unify 2017-09-19 11:15:10 +08:00
device_plugin_handler_stub.go Kubelet side extension to support device allocation 2017-09-01 11:56:35 -07:00
device_plugin_handler_test.go Extends device_plugin_handler to checkpoint device to container allocation information. 2017-09-05 09:52:14 -07:00
device_plugin_handler.go Extends device_plugin_handler to checkpoint device to container allocation information. 2017-09-05 09:52:14 -07:00
fake_internal_container_lifecycle.go Un-revert "CPU manager wiring and none policy" 2017-09-04 07:24:59 -07:00
helpers_linux_test.go update cadvisor, docker, and runc godeps 2017-09-05 12:38:57 -07:00
helpers_linux.go update cadvisor, docker, and runc godeps 2017-09-05 12:38:57 -07:00
helpers_unsupported.go run root-rewrite-v1-..., compile 2017-06-22 10:25:57 -07:00
internal_container_lifecycle.go Fixed nil InternalContainerLifecycle in cm stubs. 2017-09-04 07:24:59 -07:00
node_container_manager_test.go Fix --kube-reserved storage key name and add test cases for node allocatable reservation 2017-09-26 09:32:21 +08:00
node_container_manager.go fix the bad code comment and make the format unify 2017-09-19 11:15:10 +08:00
pod_container_manager_linux.go Fix some typos 2017-07-27 21:31:31 +08:00
pod_container_manager_stub.go run hack/update-all 2017-06-22 11:31:03 -07:00
pod_container_manager_unsupported.go run hack/update-all 2017-06-22 11:31:03 -07:00
qos_container_manager_linux.go update cadvisor, docker, and runc godeps 2017-09-05 12:38:57 -07:00
types.go update cadvisor, docker, and runc godeps 2017-09-05 12:38:57 -07:00