package interpodaffinity
import "k8s.io/kubernetes/pkg/scheduler/framework/plugins/interpodaffinity"
Index ¶
- Constants
- func New(_ *runtime.Unknown, h framework.FrameworkHandle) (framework.Plugin, error)
- type InterPodAffinity
Constants ¶
const Name = "InterPodAffinity"
Name is the name of the plugin used in the plugin registry and configurations.
Functions ¶
func New ¶
New initializes a new plugin and returns it.
Types ¶
type InterPodAffinity ¶
type InterPodAffinity struct {
// contains filtered or unexported fields
}
InterPodAffinity is a plugin that checks inter pod affinity
func (*InterPodAffinity) Filter ¶
func (pl *InterPodAffinity) Filter(ctx context.Context, cycleState *framework.CycleState, pod *v1.Pod, nodeInfo *nodeinfo.NodeInfo) *framework.Status
Filter invoked at the filter extension point.
func (*InterPodAffinity) Name ¶
func (pl *InterPodAffinity) Name() string
Name returns name of the plugin. It is used in logs, etc.
Source Files ¶
interpod_affinity.go
- Version
- v1.18.0-alpha.0
- Published
- Oct 29, 2019
- Platform
- js/wasm
- Imports
- 8 packages
- Last checked
- 4 minutes ago –
Tools for package owners.