podnodeselector

package
v1.10.7-beta.0 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 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