Wei Huang
6384f397b4
sched: support PreEnqueueChecks prior to moving Pods
2021-03-11 12:31:50 -08:00
Wei Huang
f054765762
Add a function to ensure created nodes are present in scheduler cache
2020-11-03 15:25:44 -08:00
Aldo Culquicondor
16d7ecfa45
Remove direct accesses to cache's node map
...
Signed-off-by: Aldo Culquicondor <acondor@google.com>
Change-Id: Iebb22fc816926aaa1ddd1e4b2e52f335a275ffaa
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2020-08-13 14:22:06 -04:00
Abdullah Gharaibeh
b8ddd00312
scheduler's NodeInfo tracks PodInfos instead of Pods
2020-04-08 17:53:20 -04:00
Abdullah Gharaibeh
a5d8172715
move nodeinfo type to framework pkg
2020-04-07 10:25:24 -04:00
Aldo Culquicondor
f53d7e55df
Move Snapshot from nodeinfo/snapshot to internal/cache
...
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2020-01-17 13:29:41 -05:00
Aldo Culquicondor
6a14203658
Rename cache's Snapshot to Dump
...
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2020-01-17 11:28:08 -05:00
Abdullah Gharaibeh
373cf8c1b1
move nodeinfo/snapshot.go into its own package
2019-10-23 16:12:13 -04:00
Abdullah Gharaibeh
d393804237
separate listers into their own package
2019-10-22 18:11:02 -04:00
Abdullah Gharaibeh
a772722660
Remove CSINode from scheduler cache.
2019-10-19 03:52:22 +00:00
Abdullah Gharaibeh
63d7733e98
create an ordered list of nodes instead of iterating over the tree
2019-10-18 12:51:46 -04:00
draveness
ffef11f768
feat(scheduler): move node info snapshot out of internal package
2019-08-23 22:32:16 +08:00
Fabio Bertinatto
09d2cdf384
Add independent cache for CSINode in scheduler
2019-08-01 10:08:51 +02:00
Aldo Culquicondor
f58abdf966
Use scheduler cache in affinity priority functions
...
Make the cache implement NodeLister and expose it to the priority
functions. This way, the priority functions make use of a single cache,
the scheduler's, instead of mixing it with the lister's caches.
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2019-07-23 22:10:49 -04:00
draveness
30b0f8bf3b
fix: predicates read nodes from scheduler cache
2019-06-29 02:34:08 +08:00
Fabio Bertinatto
00b0ab86af
Update scheduler to use volume limits from CSINode
2019-06-25 16:30:54 +02:00
Wei Huang
49346c1e04
shorten scheduler package alias for better readability
...
- schedulerinternalcache -> internalcache
2019-03-21 18:14:19 -07:00
Bobby (Babak) Salamat
e0ad271891
Optimize scheduler cache snapshotting using an MRU structure.
2019-02-20 13:38:37 -08:00
wangqingcan
000aa06912
Make scheduleinternalcache.PodFilter as public
2018-12-21 23:09:56 +08:00
yuexiao-wang
f3353c358d
[scheduler cleanup phase 2]: Rename to
...
Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn>
2018-12-11 11:21:12 +08:00
Guoliang Wang
558e1960b8
[scheduler cleanup phase 1]: Move FakeCache to pkg/scheduler/internal/cache/fake
2018-10-06 23:58:53 +08:00