package
3.11.0+incompatible
Repository: https://github.com/openshift/kubernetes-autoscaler.git
Documentation: pkg.go.dev

# Functions

ControllerRef returns the OwnerReference to pod's controller.
GetPodsForDeletionOnNodeDrain returns pods that should be deleted on node drain as well as some extra information about possibly problematic pods (unreplicated and daemonsets).
HasLocalStorage returns true if pod has any local storage.
IsMirrorPod checks whether the pod is a mirror pod.

# Constants

PodDeletionTimeout - time after which a pod to be deleted is not included in the list of pods for drain.
PodSafeToEvictKey - annotation that ignores constraints to evict a pod like not being replicated, being on kube-system namespace or having a local storage.