node

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2018 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetNodeLister

func GetNodeLister(client clientset.Interface, stopChannel <-chan struct{}) corelisters.NodeLister

func IsNodeUschedulable added in v0.4.0

func IsNodeUschedulable(node *v1.Node) bool

IsNodeUschedulable checks if the node is unschedulable. This is helper function to check only in case of underutilized node so that they won't be accounted for.

func IsReady

func IsReady(node *v1.Node) bool

IsReady checks if the descheduler could run against given node.

func ReadyNodes

func ReadyNodes(client clientset.Interface, nodeSelector string, stopChannel <-chan struct{}) ([]*v1.Node, error)

ReadyNodes returns ready nodes irrespective of whether they are schedulable or not.

Types

This section is empty.

Jump to

Keyboard shortcuts

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