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

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

# Constants

OpLessThan is the operator that expresses a less than operator.
SignalImageFsAvailable is amount of storage available on filesystem that container runtime uses for storing images and container writable layers.
SignalImageFsInodesFree is amount of inodes available on filesystem that container runtime uses for storing images and container writeable layers.
SignalMemoryAvailable is memory available (i.e.
SignalNodeFsAvailable is amount of storage available on filesystem that kubelet uses for volumes, daemon logs, etc.
SignalNodeFsInodesFree is amount of inodes available on filesystem that kubelet uses for volumes, daemon logs, etc.

# Structs

Config holds information about how eviction is configured.
Threshold defines a metric for when eviction should occur.
ThresholdValue is a value holder that abstracts literal versus percentage based quantity.

# Interfaces

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.

# Type aliases

ActivePodsFunc returns pods bound to the kubelet that are active (i.e.
KillPodFunc kills a pod.
Signal defines a signal that can trigger eviction of pods on a node.
ThresholdOperator is the operator used to express a Threshold.