mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-07-18 04:54:54 +00:00
Previously, the scheduler assumed an extended resource was maintained by a device plugin if its name was present in the node's Allocatable map, even if its value was zero. This blocked scheduling when a device plugin was disconnected or uninstalled, because Kubelet still reported the resource with Allocatable=0. This change adds a check for the actual allocatable value in addition to a key presence check, allowing nodes with uninstalled device plugins to be considered for scheduling.