package
1.33.0-alpha.2
Repository: https://github.com/kubernetes/kubernetes.git
Documentation: pkg.go.dev
# Functions
GetThresholdQuantity returns the expected quantity value for a thresholdValue.
# Constants
OpLessThan is the operator that expresses a less than operator.
SignalAllocatableMemoryAvailable is amount of memory available for pod allocation (i.e.
SignalContainerFsAvailable is amount of storage available on filesystem that container runtime uses for container writable layers.
SignalContainerFsInodesFree is amount of inodes available on filesystem that container runtime uses for container writable layers.
SignalImageFsAvailable is amount of storage available on filesystem that container runtime uses for storing images layers.
SignalImageFsInodesFree is amount of inodes available on filesystem that container runtime uses for storing images 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.
SignalPIDAvailable is amount of PID available for pod allocation.
# Variables
OpForSignal maps Signals to ThresholdOperators.
# Structs
Threshold defines a metric for when eviction should occur.
ThresholdValue is a value holder that abstracts literal versus percentage based quantity.
# Type aliases
Signal defines a signal that can trigger eviction of pods on a node.
ThresholdOperator is the operator used to express a Threshold.