kubernetes/pkg/scheduler/internal/cache
Maël Kimmerlin c2ec8bedbc
Fix scheduler issue with nodetree additions
When nodes are added in multiple zones at once, the nodeTree next
function does not return a correct list of nodes but repeats some
This commit resets the index before starting to call next() to
prevent this issue

Special thanks to igraecao for the help in finding the bug

Co-authored-by: igraecao <matvej.yolli@outlook.com>
2020-07-24 09:42:53 +03:00
..
debugger Run hack/update-vendor.sh 2020-05-16 07:54:33 -04:00
fake scheduler's NodeInfo tracks PodInfos instead of Pods 2020-04-08 17:53:20 -04:00
BUILD Run hack/update-vendor.sh 2020-05-16 07:54:33 -04:00
cache_test.go Fix scheduler issue with nodetree additions 2020-07-24 09:42:53 +03:00
cache.go Fix scheduler issue with nodetree additions 2020-07-24 09:42:53 +03:00
interface.go scheduler's NodeInfo tracks PodInfos instead of Pods 2020-04-08 17:53:20 -04:00
node_tree_test.go pkg/util/node: update GetZoneKey to check both beta and GA labels 2019-11-07 21:22:04 -05:00
node_tree.go switch over k/k to use klog v2 2020-05-16 07:54:27 -04:00
snapshot_test.go move nodeinfo type to framework pkg 2020-04-07 10:25:24 -04:00
snapshot.go change scheduler's framework PodLister to PodInfoLister 2020-04-22 19:25:27 -04:00