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
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
type EvictionConfiguration struct { *ReclaimedResourcesEvictionConfiguration *MemoryPressureEvictionConfiguration *CPUPressureEvictionConfiguration }
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 }
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
func NewReclaimedResourcesEvictionConfiguration ¶ added in v0.3.0
func NewReclaimedResourcesEvictionConfiguration() *ReclaimedResourcesEvictionConfiguration
Click to show internal directories.
Click to hide internal directories.