package
1.12.0-alpha.0
Repository: https://github.com/wking/kubernetes.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

NewInitialStopCh returns a ThresholdStopCh which can be closed immediately.
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.
ThresholdNotifier notifies the user when an attribute crosses a threshold value.
ThresholdStopCh is an interface for a channel which is closed to stop waiting goroutines.

# 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.