maelk
fc5edb8c12
Change nodeInfolist building logic in scheduler
...
This commit transforms the next() function of the scheduler node
tree into a listNodes() function that directly returns a list of
nodes, going through the zones in a round-robin fashion. This
removes the flawed logic of the next() function.
2020-08-18 11:35:14 +03:00
He Jie Xu
33a7e94b6a
Create new slices to avoid modify original fake data
...
When create fake data for the nodeTree unittests, The 'append' is invoked
on the common fake data set. That makes the unittests is running with unexpected
fake data after that.
2020-07-29 11:36:47 +08:00
Andrew Sy Kim
07229d6c51
pkg/util/node: update GetZoneKey to check both beta and GA labels
...
Signed-off-by: Andrew Sy Kim <kiman@vmware.com>
2019-11-07 21:22:04 -05:00
Abdullah Gharaibeh
63d7733e98
create an ordered list of nodes instead of iterating over the tree
2019-10-18 12:51:46 -04:00
ahg-g
ece3e3cdba
Revert "Faster scheduler"
2019-06-06 22:34:18 -04:00
Abdullah Gharaibeh
e660e84459
Faster scheduler.
2019-05-08 09:49:01 -04:00
Davanum Srinivas
b975573385
move pkg/kubelet/apis/well_known_labels.go to staging/src/k8s.io/api/core/v1/
...
Co-Authored-By: Weibin Lin <linweibin1@huawei.com>
Change-Id: I163b2f2833e6b8767f72e2c815dcacd0f4e504ea
2019-02-05 13:39:07 -05:00
Adrián Orive
c7cba7370f
Scheduler internal NodeTree thread-safe NumNodes
...
Signed-off-by: Adrián Orive <adrian.orive.oneca@gmail.com>
2018-11-13 08:40:48 +01:00
Bobby (Babak) Salamat
141b55abf5
Fix a bug in node tree when all nodes in a zone are removed
2018-10-12 21:39:38 -07:00
Guoliang Wang
187e2e01c9
Move scheduler cache interface and implementation to pkg/scheduler/internal/cache
2018-10-06 20:48:59 +08:00