podnodeselector

package
v1.14.4-beta.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 6, 2019 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const PluginName = "PodNodeSelector"

Variables

View Source
var NamespaceNodeSelectors = []string{"scheduler.alpha.kubernetes.io/node-selector"}

The annotation key scheduler.alpha.kubernetes.io/node-selector is for assigning node selectors labels to namespaces

Functions

func NewPodNodeSelector

func NewPodNodeSelector(clusterNodeSelectors map[string]string) *podNodeSelector

func Register added in v1.7.0

func Register(plugins *admission.Plugins)

Register registers a plugin

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL