mirror of https://github.com/k3s-io/k3s
c491d48cde
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 ``` |
||
---|---|---|
.. | ||
cpumanager | ||
cpuset | ||
devicemanager | ||
util | ||
BUILD | ||
OWNERS | ||
cgroup_manager_linux.go | ||
cgroup_manager_linux_test.go | ||
cgroup_manager_test.go | ||
cgroup_manager_unsupported.go | ||
container_manager.go | ||
container_manager_linux.go | ||
container_manager_linux_test.go | ||
container_manager_stub.go | ||
container_manager_unsupported.go | ||
container_manager_windows.go | ||
fake_internal_container_lifecycle.go | ||
helpers_linux.go | ||
helpers_linux_test.go | ||
helpers_unsupported.go | ||
internal_container_lifecycle.go | ||
node_container_manager.go | ||
node_container_manager_test.go | ||
pod_container_manager_linux.go | ||
pod_container_manager_linux_test.go | ||
pod_container_manager_stub.go | ||
pod_container_manager_unsupported.go | ||
qos_container_manager_linux.go | ||
types.go |