1
0
mirror of https://github.com/kubernetes-sigs/descheduler.git synced 2026-01-26 21:31:18 +01:00

Update low node utlization strategy implementation.

This commit is contained in:
Avesh Agarwal
2017-08-11 14:53:12 -04:00
parent b41cce684a
commit 9fc75c7ce6
2 changed files with 20 additions and 12 deletions

View File

@@ -59,10 +59,6 @@ func ReadyNodes(client clientset.Interface, stopChannel <-chan struct{}) ([]*v1.
return readyNodes, nil
}
func IsNodeWithLowResourceUtilization() {
// no op
}
func GetNodeLister(client clientset.Interface, stopChannel <-chan struct{}) corelisters.NodeLister {
listWatcher := cache.NewListWatchFromClient(client.Core().RESTClient(), "nodes", v1.NamespaceAll, fields.Everything())
store := cache.NewIndexer(cache.MetaNamespaceKeyFunc, cache.Indexers{cache.NamespaceIndex: cache.MetaNamespaceIndexFunc})