eviction

package
v0.5.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 10, 2024 License: Apache-2.0 Imports: 3 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CPUPressureEvictionConfiguration added in v0.3.0

type CPUPressureEvictionConfiguration struct {
	LoadEvictionSyncPeriod time.Duration
}

CPUPressureEvictionConfiguration is the config of CPUPressureEviction

func NewCPUPressureEvictionConfiguration added in v0.3.0

func NewCPUPressureEvictionConfiguration() *CPUPressureEvictionConfiguration

NewCPUPressureEvictionConfiguration returns a new CPUPressureEvictionConfiguration

type EvictionConfiguration added in v0.3.0

func NewEvictionConfiguration added in v0.3.0

func NewEvictionConfiguration() *EvictionConfiguration

type GenericEvictionConfiguration

type GenericEvictionConfiguration struct {
	// Inner plugins is the list of plugins implemented in katalyst to enable or disable
	// '*' means "all enabled by default"
	// 'foo' means "enable 'foo'"
	// '-foo' means "disable 'foo'"
	// first item for a particular name wins
	InnerPlugins []string

	// ConditionTransitionPeriod is duration the eviction manager has to wait before transitioning out of a condition.
	ConditionTransitionPeriod time.Duration

	// EvictionManagerSyncPeriod is the interval duration that eviction manager fetches information from registered plugins
	EvictionManagerSyncPeriod time.Duration

	// those two variables are used to filter out eviction-free pods
	EvictionSkippedAnnotationKeys sets.String
	EvictionSkippedLabelKeys      sets.String

	// EvictionBurst limit the burst eviction counts
	EvictionBurst int

	// PodKiller specify the pod killer implementation
	PodKiller string

	// StrictAuthentication means whether to authenticate plugins strictly
	StrictAuthentication bool

	// PodMetricLabels defines the pod labels to be added in metric selector lists
	PodMetricLabels sets.String
}

func NewGenericEvictionConfiguration

func NewGenericEvictionConfiguration() *GenericEvictionConfiguration

type MemoryPressureEvictionConfiguration added in v0.3.0

type MemoryPressureEvictionConfiguration struct {
	RSSOveruseEvictionFilter     labels.Set
	SystemPressureSyncPeriod     int
	SystemPressureCoolDownPeriod int
}

MemoryPressureEvictionConfiguration is the config of MemoryPressureEviction

func NewMemoryPressureEvictionPluginConfiguration

func NewMemoryPressureEvictionPluginConfiguration() *MemoryPressureEvictionConfiguration

NewMemoryPressureEvictionPluginConfiguration returns a new MemoryPressureEvictionConfiguration

type ReclaimedResourcesEvictionConfiguration added in v0.3.0

type ReclaimedResourcesEvictionConfiguration struct {
	SkipZeroQuantityResourceNames sets.String
}

func NewReclaimedResourcesEvictionConfiguration added in v0.3.0

func NewReclaimedResourcesEvictionConfiguration() *ReclaimedResourcesEvictionConfiguration

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL