package nodeports
import "k8s.io/kubernetes/pkg/scheduler/framework/plugins/nodeports"
Index ¶
- Constants
- func New(_ *runtime.Unknown, _ framework.FrameworkHandle) (framework.Plugin, error)
- type NodePorts
Constants ¶
const Name = "NodePorts"
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 NodePorts ¶
type NodePorts struct{}
NodePorts is a plugin that checks if a node has free ports for the requested pod ports.
func (*NodePorts) Filter ¶
func (pl *NodePorts) Filter(ctx context.Context, _ *framework.CycleState, pod *v1.Pod, nodeInfo *nodeinfo.NodeInfo) *framework.Status
Filter invoked at the filter extension point.
func (*NodePorts) Name ¶
Name returns name of the plugin. It is used in logs, etc.
Source Files ¶
node_ports.go
- Version
- v1.17.17
- Published
- Jan 13, 2021
- Platform
- js/wasm
- Imports
- 7 packages
- Last checked
- 14 seconds ago –
Tools for package owners.