Documentation ¶
Index ¶
Constants ¶
View Source
const (
ErrReasonUnschedulable = "pod at full capacity"
)
View Source
const Name = state.PodFitsResources
Name of the plugin
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PodFitsResources ¶
type PodFitsResources struct { }
PodFitsResources is a plugin that filters pods that do not have sufficient free capacity for a vreplica to be placed on it
func (*PodFitsResources) Filter ¶
func (pl *PodFitsResources) Filter(ctx context.Context, args interface{}, states *state.State, key types.NamespacedName, podID int32) *state.Status
Filter invoked at the filter extension point.
func (*PodFitsResources) Name ¶
func (pl *PodFitsResources) Name() string
Name returns name of the plugin
Click to show internal directories.
Click to hide internal directories.