podnodeselector

package
v1.12.4 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2018 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