kubernetes/pkg/scheduler
Yibo Zhuang 32c18a3479 Adding StorageInfoLister to SharedLister
This change creates a StorageInfoLister interface
and have it under scheduler SharedLister.

The initial StorageInfoLister interface has a
IsPVCUsedByPods which returns true/false depending on
whether the PVC (keyed by namespace/name) has at least
one scheduled pod using it.

In snapshot real implementation, add a usedPVCSet
key by PVC namespace/name which contains all PVCs
that have at least one scheduled pod using it.
During snapshot update, populate this set based on
whether the PVCRefCounts map for node(s) have been
updated since last snapshot.

Signed-off-by: Yibo Zhuang <yibzhuang@gmail.com>
2022-05-03 18:00:41 -07:00
..
apis/config Merge pull request #108278 from kerthcet/feature/graduate-defaultPodTopologySpread-to-ga 2022-02-28 08:02:57 -08:00
framework Adding StorageInfoLister to SharedLister 2022-05-03 18:00:41 -07:00
internal Adding StorageInfoLister to SharedLister 2022-05-03 18:00:41 -07:00
metrics rename unschedulableQ to unschedulablePods 2022-03-24 17:38:49 +08:00
profile cleanup: return frameworkruntime.NewFramework directly 2021-12-07 23:29:56 +08:00
testing Merge pull request #108362 from sanposhiho/implement-mindomains 2022-03-15 10:34:11 -07:00
util use original requests in NodeResourcesBalancedAllocation instead of NonZero (#105845) 2021-10-29 19:04:14 -07:00
eventhandlers_test.go Merge pull request #108445 from pohly/storage-capacity-ga 2022-03-23 08:06:21 -07:00
eventhandlers.go Merge pull request #108445 from pohly/storage-capacity-ga 2022-03-23 08:06:21 -07:00
extender_test.go Remove genericScheduler and SchedulerAlgorithm. 2022-03-04 13:26:46 +08:00
extender.go restore NumPDBViolations info of nodes, when HTTPExtender ProcessPreemption. This info will be used in subsequent filtering steps - pick OneNodeForPreemption. 2022-01-10 13:37:46 +08:00
OWNERS Check in OWNERS modified by update-yamlfmt.sh 2021-12-09 21:31:26 -05:00
schedule_one_test.go migrate scheduling logic to schedule_one.go as more reasonable (#109045) 2022-03-27 08:51:20 -07:00
schedule_one.go migrate scheduling logic to schedule_one.go as more reasonable (#109045) 2022-03-27 08:51:20 -07:00
scheduler_test.go migrate scheduling logic to schedule_one.go as more reasonable (#109045) 2022-03-27 08:51:20 -07:00
scheduler.go migrate scheduling logic to schedule_one.go as more reasonable (#109045) 2022-03-27 08:51:20 -07:00