deletetaint

package
v0.0.0-...-89f796a Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2017 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ToBeDeletedTaint is a taint used to make the node unschedulable.
	ToBeDeletedTaint = "ToBeDeletedByClusterAutoscaler"
)

Variables

This section is empty.

Functions

func CleanToBeDeleted

func CleanToBeDeleted(node *apiv1.Node, client kube_client.Interface) (bool, error)

CleanToBeDeleted cleans ToBeDeleted taint.

func HasToBeDeletedTaint

func HasToBeDeletedTaint(node *apiv1.Node) bool

HasToBeDeletedTaint returns true if ToBeDeleted taint is applied on the node.

func MarkToBeDeleted

func MarkToBeDeleted(node *apiv1.Node, client kube_client.Interface) error

MarkToBeDeleted sets a taint that makes the node unschedulable.

Types

This section is empty.

Jump to

Keyboard shortcuts

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