package
3.11.0+incompatible
Repository: https://github.com/openshift/kubernetes-autoscaler.git
Documentation: pkg.go.dev

# Functions

BuildNodeInfoForNode build a NodeInfo structure for the given node as if the node was just created.
CalculateUtilization calculates utilization of a node, defined as maximum of (cpu, memory) utilization.
DetailedGetPodsForMove returns a list of pods that should be moved elsewhere if the node is drained.
FastGetPodsToMove returns a list of pods that should be moved elsewhere if the node is drained.
FindEmptyNodesToRemove finds empty nodes that can be removed.
FindNodesToRemove finds nodes that can be removed.
GetRequiredPodsForNode returns a list of pods that would appear on the node if the node was just created (like daemonset and manifest-run pods).
NewPredicateChecker builds PredicateChecker.
NewTestPredicateChecker builds test version of PredicateChecker.
NewUsageTracker builds new usage tracker.
RemoveNodeFromTracker removes node from tracker and also cleans the passed utilization map.

# Constants

ReturnSimpleError causes simple, detail-free error messages to be returned.
ReturnVerboseError causes informative error messages to be returned.

# Structs

NodeToBeRemoved contain information about a node that can be removed.
PredicateChecker checks whether all required predicates are matched for given Pod and Node.
UsageRecord records which node was considered helpful to which node during pod rescheduling analysis.
UsageTracker track usage relationship between nodes in pod rescheduling calculations.

# Type aliases

ErrorVerbosity defines the verbosity of error messages returned by PredicateChecker.