kubernetes/pkg/kubelet/cm
Jiaying Zhang 1eb4e79453 Extends deviceplugin to gracefully handle full device plugin lifecycle.
- Instead of using cm.capacity field to communicate device plugin resource
capacity, this PR changes to use an explicit cm.GetDevicePluginResourceCapacity()
function that returns device plugin resource capacity as well as any inactive
device plugin resource. Kubelet syncNodeStatus call this function during its
periodic run to update node status capacity and allocatable. After this call,
device plugin can remove the inactive device plugin resource from its allDevices
field as the update is already pushed to API server.
- Extends device plugin checkpoint data to record registered resources
so that we can finish resource removing even upon kubelet restarts.
- Passes sourcesReady from kubelet to device plugin to avoid removing
inactive pods during grace period of kubelet restart.
2017-11-20 23:40:14 -08:00
..
cpumanager Use file-backed state for all cpumanager policies 2017-11-15 22:38:11 -08:00
cpuset update BUILD files 2017-10-15 18:18:13 -07:00
deviceplugin Extends deviceplugin to gracefully handle full device plugin lifecycle. 2017-11-20 23:40:14 -08:00
util update BUILD files 2017-10-15 18:18:13 -07:00
BUILD Extends deviceplugin to gracefully handle full device plugin lifecycle. 2017-11-20 23:40:14 -08:00
cgroup_manager_linux.go update cadvisor, docker, and runc godeps 2017-09-05 12:38:57 -07:00
cgroup_manager_linux_test.go stop double encoding systemd style cgroup names 2017-02-21 16:34:21 -05: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 kubelet: enable qos-level memory request reservation 2017-03-02 15:04:13 -06:00
container_manager.go Extends deviceplugin to gracefully handle full device plugin lifecycle. 2017-11-20 23:40:14 -08:00
container_manager_linux.go Extends deviceplugin to gracefully handle full device plugin lifecycle. 2017-11-20 23:40:14 -08:00
container_manager_linux_test.go use GetFileType per mount.Interface to check hostpath type 2017-09-26 09:57:06 +08:00
container_manager_stub.go Extends deviceplugin to gracefully handle full device plugin lifecycle. 2017-11-20 23:40:14 -08:00
container_manager_unsupported.go Extends deviceplugin to gracefully handle full device plugin lifecycle. 2017-11-20 23:40:14 -08:00
container_manager_unsupported_test.go Container manager has a bad fake interface 2017-11-03 22:21:29 -04: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 pkg/apis/core: mechanical import fixes in dependencies 2017-11-09 12:14:08 +01:00
helpers_linux_test.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.go apimachinery: remove Scheme.DeepCopy 2017-10-06 14:59:17 +02: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
pod_container_manager_linux.go pkg/apis/core: mechanical import fixes in dependencies 2017-11-09 12:14:08 +01: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 Merge pull request #52977 from yanxuean/improvecgroup 2017-11-18 13:13:28 -08:00
types.go update cadvisor, docker, and runc godeps 2017-09-05 12:38:57 -07:00