podnodeselector

package
v1.15.0-alpha.3 Latest Latest
Warning

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

Go to latest
Published: May 7, 2019 License: Apache-2.0 Imports: 15 Imported by: 41

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