# Functions
CalculateSpreadPriority spreads pods by minimizing the number of pods on the same machine with the same labels.
EqualPriority is a prioritizer function that gives an equal weight of one to all nodes.
LeastRequestedPriority is a priority function that favors nodes with fewer requested resources.
MapPodsToMachines obtains a list of pods and pivots that list into a map where the keys are host names and the values are the list of pods running on that host.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
HostPriority represents the priority of scheduling to a particular host, lower priority is better.
No description provided by the author
No description provided by the author
# Interfaces
MinionLister interface represents anything that can list minions for a scheduler.
No description provided by the author
PodLister interface represents anything that can list pods for a scheduler.
Scheduler is an interface implemented by things that know how to schedule pods onto machines.
# Type aliases
FakeMinionLister implements MinionLister on a []string for test purposes.
FakePodLister implements PodLister on an []api.Pods for test purposes.
FitPredicate is a function that indicates if a pod fits into an existing node.
No description provided by the author
No description provided by the author