mirror of https://github.com/k3s-io/k3s
![]() 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 |
||
---|---|---|
.. | ||
util | ||
BUILD | ||
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_unsupported_test.go | ||
container_manager_windows.go | ||
helpers_linux.go | ||
helpers_linux_test.go | ||
helpers_unsupported.go | ||
node_container_manager.go | ||
node_container_manager_test.go | ||
pod_container_manager_linux.go | ||
pod_container_manager_stub.go | ||
pod_container_manager_unsupported.go | ||
qos_container_manager_linux.go | ||
types.go |