pod

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2018 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsBestEffortPod

func IsBestEffortPod(pod *v1.Pod) bool

func IsBurstablePod

func IsBurstablePod(pod *v1.Pod) bool

func IsCriticalPod

func IsCriticalPod(pod *v1.Pod) bool

func IsDaemonsetPod

func IsDaemonsetPod(ownerRefList []metav1.OwnerReference) bool

func IsEvictable added in v0.4.0

func IsEvictable(pod *v1.Pod) bool

IsEvictable checks if a pod is evictable or not.

func IsGuaranteedPod

func IsGuaranteedPod(pod *v1.Pod) bool

func IsLatencySensitivePod added in v0.4.0

func IsLatencySensitivePod(pod *v1.Pod) bool

IsLatencySensitivePod checks if a pod consumes high value devices like GPUs, hugepages or when cpu pinning enabled.

func IsMirrorPod

func IsMirrorPod(pod *v1.Pod) bool

IsMirrorPod checks whether the pod is a mirror pod.

func IsPodWithLocalStorage

func IsPodWithLocalStorage(pod *v1.Pod) bool

func ListEvictablePodsOnNode added in v0.4.0

func ListEvictablePodsOnNode(client clientset.Interface, node *v1.Node) ([]*v1.Pod, error)

ListEvictablePodsOnNode returns the list of evictable pods on node.

func ListPodsOnANode

func ListPodsOnANode(client clientset.Interface, node *v1.Node) ([]*v1.Pod, error)

func OwnerRef added in v0.4.0

func OwnerRef(pod *v1.Pod) []metav1.OwnerReference

OwnerRef returns the ownerRefList for the pod.

Types

This section is empty.

Jump to

Keyboard shortcuts

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