Documentation ¶
Index ¶
- func IsBestEffortPod(pod *v1.Pod) bool
- func IsBurstablePod(pod *v1.Pod) bool
- func IsCriticalPod(pod *v1.Pod) bool
- func IsDaemonsetPod(ownerRefList []metav1.OwnerReference) bool
- func IsEvictable(pod *v1.Pod) bool
- func IsGuaranteedPod(pod *v1.Pod) bool
- func IsLatencySensitivePod(pod *v1.Pod) bool
- func IsMirrorPod(pod *v1.Pod) bool
- func IsPodWithLocalStorage(pod *v1.Pod) bool
- func ListEvictablePodsOnNode(client clientset.Interface, node *v1.Node) ([]*v1.Pod, error)
- func ListPodsOnANode(client clientset.Interface, node *v1.Node) ([]*v1.Pod, error)
- func OwnerRef(pod *v1.Pod) []metav1.OwnerReference
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsBestEffortPod ¶
func IsBurstablePod ¶
func IsCriticalPod ¶
func IsDaemonsetPod ¶
func IsDaemonsetPod(ownerRefList []metav1.OwnerReference) bool
func IsEvictable ¶ added in v0.4.0
IsEvictable checks if a pod is evictable or not.
func IsGuaranteedPod ¶
func IsLatencySensitivePod ¶ added in v0.4.0
IsLatencySensitivePod checks if a pod consumes high value devices like GPUs, hugepages or when cpu pinning enabled.
func IsMirrorPod ¶
IsMirrorPod checks whether the pod is a mirror pod.
func IsPodWithLocalStorage ¶
func ListEvictablePodsOnNode ¶ added in v0.4.0
ListEvictablePodsOnNode returns the list of evictable pods on node.
func ListPodsOnANode ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.