Documentation ¶
Index ¶
Constants ¶
View Source
const ( ErrReasonInvalidArg = "invalid arguments" ErrReasonUnschedulable = "pod increases total # of pods beyond partition count" )
View Source
const Name = state.NoMaxResourceCount
Name of the plugin
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NoMaxResourceCount ¶
type NoMaxResourceCount struct { }
NoMaxResourceCount plugin filters pods that cause total pods with placements to exceed total partitioncount.
func (*NoMaxResourceCount) Filter ¶
func (pl *NoMaxResourceCount) Filter(ctx context.Context, args interface{}, states *state.State, key types.NamespacedName, podID int32) *state.Status
Filter invoked at the filter extension point.
func (*NoMaxResourceCount) Name ¶
func (pl *NoMaxResourceCount) Name() string
Name returns name of the plugin
Click to show internal directories.
Click to hide internal directories.