package
1.8.0-alpha.2
Repository: https://github.com/lxpollitt/kubernetes.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

NewManager returns a configured Manager and an associated admission handler to enforce eviction configuration.
NewMemCGThresholdNotifier sends notifications when a cgroup threshold is crossed (in either direction) for a given cgroup attribute.
ParseThresholdConfig parses the flags for thresholds.
PodIsEvicted returns true if the reported pod status is due to an eviction.

# Structs

Config holds information about how eviction is configured.

# Interfaces

ContainerGC is responsible for performing garbage collection of unused containers.
DiskInfoProvider is responsible for informing the manager how disk is configured.
ImageGC is responsible for performing garbage collection of unused images.
Manager evaluates when an eviction threshold for node stability has been met on the node.
NodeProvider is responsible for providing the node api object describing this node.
ThresholdNotifier notifies the user when an attribute crosses a threshold value.

# Type aliases

ActivePodsFunc returns pods bound to the kubelet that are active (i.e.
KillPodFunc kills a pod.
PodCleanedUpFunc returns true if all resources associated with a pod have been reclaimed.