Documentation ¶
Index ¶
Constants ¶
View Source
const Name = "NodeLabel"
Name of this plugin.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Args ¶
type Args struct { // The list of labels that identify node "groups" // All of the labels should be either present (or absent) for the node to be considered a fit for hosting the pod Labels []string `json:"labels,omitempty"` // The boolean flag that indicates whether the labels should be present or absent from the node Presence bool `json:"presence,omitempty"` }
Args holds the args that are used to configure the plugin.
type NodeLabel ¶
type NodeLabel struct {
// contains filtered or unexported fields
}
NodeLabel checks whether a pod can fit based on the node labels which match a filter that it requests.
Click to show internal directories.
Click to hide internal directories.