k3s/pkg/kubelet/cm
Kubernetes Submit Queue c491d48cde
Merge pull request #67430 from choury/cpumanager
Automatic merge from submit-queue (batch tested with PRs 67430, 67550). 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>.

cpumanager: rollback state if updateContainerCPUSet failed

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

**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
Fixes #63018

If `updateContainerCPUSet`  failed, the container will start failed. We should rollback the state to avoid CPU leak.
**Special notes for your reviewer**:

**Release note**:

```release-note
cpumanager: rollback state if updateContainerCPUSet failed
```
2018-08-21 23:20:58 -07:00
..
cpumanager cpumanager: rollback state if updateContainerCPUSet failed 2018-08-17 18:08:58 +08:00
cpuset Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
devicemanager device manager: don't do operations on nil pointer. 2018-08-21 15:20:36 +03:00
util Update to gazelle 0.12.0 and run hack/update-bazel.sh 2018-06-22 16:22:18 -07:00
BUILD Use probe based plugin discovery mechanism in device manager 2018-07-17 04:02:31 -04:00
OWNERS Add ConnorDoyle as approver in /pkg/kubelet/cm. 2017-12-06 09:05:59 -06:00
cgroup_manager_linux.go Use a []string for CgroupName, which is a more accurate internal representation 2018-05-01 08:29:06 -07:00
cgroup_manager_linux_test.go Use a []string for CgroupName, which is a more accurate internal representation 2018-05-01 08:29:06 -07:00
cgroup_manager_test.go Lift embedded structure out of eviction-related KubeletConfiguration fields 2017-11-16 18:35:13 -08:00
cgroup_manager_unsupported.go Use a []string for CgroupName, which is a more accurate internal representation 2018-05-01 08:29:06 -07:00
container_manager.go Use probe based plugin discovery mechanism in device manager 2018-07-17 04:02:31 -04:00
container_manager_linux.go Merge pull request #61159 from linyouchong/linyouchong-20180314 2018-08-02 14:09:39 -07:00
container_manager_linux_test.go Clean up fake mounters. 2018-06-02 15:55:19 +08:00
container_manager_stub.go Use probe based plugin discovery mechanism in device manager 2018-07-17 04:02:31 -04:00
container_manager_unsupported.go Remove redundant code in container manager. 2017-11-24 03:15:55 -08:00
container_manager_windows.go Extends deviceplugin to gracefully handle full device plugin lifecycle. 2017-11-20 23:40:14 -08:00
fake_internal_container_lifecycle.go Un-revert "CPU manager wiring and `none` policy" 2017-09-04 07:24:59 -07:00
helpers_linux.go Fix cpu cfs quota flag with pod cgroups 2018-03-16 15:27:11 -04:00
helpers_linux_test.go Merge pull request #56525 from tianshapjq/testcase-helpers_linux.go 2018-04-20 18:55:13 -07:00
helpers_unsupported.go Fix cpu cfs quota flag with pod cgroups 2018-03-16 15:27:11 -04:00
internal_container_lifecycle.go Fixed nil InternalContainerLifecycle in cm stubs. 2017-09-04 07:24:59 -07:00
node_container_manager.go fix nil pointer dereference in node_container_manager#enforceExistingCgroup 2018-07-14 10:42:42 +08:00
node_container_manager_test.go codeClean-merge-logfAndFailnow-to-fatalf 2018-01-31 11:39:31 +08:00
pod_container_manager_linux.go Do not set cgroup parent when --cgroups-per-qos is disabled 2018-07-20 10:25:50 -07:00
pod_container_manager_linux_test.go Apply pod name and namespace labels for pod cgroup for cadvisor metrics 2018-05-07 14:51:12 -04:00
pod_container_manager_stub.go Apply pod name and namespace labels for pod cgroup for cadvisor metrics 2018-05-07 14:51:12 -04:00
pod_container_manager_unsupported.go Remove redundant code in container manager. 2017-11-24 03:15:55 -08:00
qos_container_manager_linux.go Use a []string for CgroupName, which is a more accurate internal representation 2018-05-01 08:29:06 -07:00
types.go Apply pod name and namespace labels for pod cgroup for cadvisor metrics 2018-05-07 14:51:12 -04:00