Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSpreadSchedulePolicy ¶
func NewSpreadSchedulePolicy() (policies.SchedulingPolicy, error)
NewSpreadSchedulePolicy creates a new spread schedule policy.
Types ¶
type SchedulePolicy ¶
type SchedulePolicy struct {
policies.BaseSchedulePolicy
}
SchedulePolicy implements the SchedulePolicy interface. This policy promotes the spread of container by all nodes. More load balancing less consolidation.
func (*SchedulePolicy) Rank ¶
func (s *SchedulePolicy) Rank(availableOffers policies.WeightedOffers, necessaryResources resources.Resources) policies.WeightedOffers
Click to show internal directories.
Click to hide internal directories.