k3s/pkg/kubelet/cm
Kubernetes Submit Queue e623fed778 Merge pull request #48636 from jingxu97/July/allocatable
Automatic merge from submit-queue (batch tested with PRs 48636, 49088, 49251, 49417, 49494)

Fix issues for local storage allocatable feature

This PR fixes the following issues:
1. Use ResourceStorageScratch instead of ResourceStorage API to represent
local storage capacity
2. In eviction manager, use container manager instead of node provider
(kubelet) to retrieve the node capacity and reserved resources. Node
provider (kubelet) has a feature gate so that storagescratch information
may not be exposed if feature gate is not set. On the other hand,
container manager has all the capacity and allocatable resource
information.

This PR fixes issue #47809
2017-07-24 19:30:33 -07:00
..
util autogenerated 2017-04-14 10:40:57 -07:00
BUILD Refactor: pkg/util into sub-pkgs 2017-07-18 14:34:08 +08:00
cgroup_manager_linux.go Fix naming and comments in Container Manage 2017-05-26 10:53:09 +08: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 run root-rewrite-v1-..., compile 2017-06-22 10:25:57 -07:00
cgroup_manager_unsupported.go kubelet: enable qos-level memory request reservation 2017-03-02 15:04:13 -06:00
container_manager.go Kubelet: 2017-06-27 18:45:02 -07:00
container_manager_linux.go Refactor: pkg/util into sub-pkgs 2017-07-18 14:34:08 +08:00
container_manager_linux_test.go Fixes bind-mount teardown failure with non-mount point Local volumes 2017-07-11 17:19:58 -04:00
container_manager_stub.go Kubelet: 2017-06-27 18:45:02 -07:00
container_manager_unsupported.go Implement GetCapacity in container_manager_unsupported 2017-06-29 10:22:57 +08:00
container_manager_unsupported_test.go Fixes bind-mount teardown failure with non-mount point Local volumes 2017-07-11 17:19:58 -04:00
container_manager_windows.go run hack/update-all 2017-06-22 11:31:03 -07:00
helpers_linux.go Remove useless error 2017-07-03 14:59:54 +08:00
helpers_linux_test.go run hack/update-all 2017-06-22 11:31:03 -07:00
helpers_unsupported.go run root-rewrite-v1-..., compile 2017-06-22 10:25:57 -07:00
node_container_manager.go Fix issues for local storage allocatable feature 2017-07-13 12:06:19 -07:00
node_container_manager_test.go run hack/update-all 2017-06-22 11:31:03 -07:00
pod_container_manager_linux.go run hack/update-all 2017-06-22 11:31:03 -07: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 Remove useless error 2017-07-03 14:59:54 +08:00
types.go run hack/update-all 2017-06-22 11:31:03 -07:00