algorithm

package
v0.0.0-...-1fc8ff4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 2, 2018 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindOptimizedNodeInCluster

func FindOptimizedNodeInCluster(nodeList *v1.NodeList, nodeMetricsInfo metrics.NodeMetricsInfo) []v1.Node

FindOptimizedNodeInCluster takes nodeList, nodeCostInfo and nodeMetricsInfo and returns node with least cost.

Types

type NodeCostInfo

type NodeCostInfo map[string]int64

NodeCostInfo is nodename to cost mapping. Cost is combination of cpu utilization and cost of node in cloud.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL