Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CPUPressureEvictionPluginConfiguration ¶
type CPUPressureEvictionPluginConfiguration struct { EnableCPUPressureEviction bool LoadUpperBoundRatio float64 LoadThresholdMetPercentage float64 CPUPressureEvictionPodGracePeriodSeconds int64 MetricRingSize int CPUPressureEvictionSyncPeriod time.Duration CPUPressureEvictionColdPeriod time.Duration MaxCPUSuppressionToleranceRate float64 MinCPUSuppressionToleranceDuration time.Duration }
CPUPressureEvictionPluginConfiguration is the config of CPUPressureEvictionPlugin
func NewCPUPressureEvictionPluginConfiguration ¶
func NewCPUPressureEvictionPluginConfiguration() *CPUPressureEvictionPluginConfiguration
NewCPUPressureEvictionPluginConfiguration returns a new CPUPressureEvictionPluginConfiguration
type EvictionPluginsConfiguration ¶
type EvictionPluginsConfiguration struct { *ReclaimedResourcesEvictionPluginConfiguration *MemoryPressureEvictionPluginConfiguration *CPUPressureEvictionPluginConfiguration }
func NewEvictionPluginsConfiguration ¶
func NewEvictionPluginsConfiguration() *EvictionPluginsConfiguration
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 // Dryrun plugins is the list of plugins to dryrun // '*' means "all dryrun by default" // 'foo' means "dryrun 'foo'" // first item for a particular name wins DryRunPlugins []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 MemoryPressureEvictionPluginConfiguration ¶
type MemoryPressureEvictionPluginConfiguration struct { }
MemoryPressureEvictionPluginConfiguration is the config of MemoryPressureEvictionPlugin
func NewMemoryPressureEvictionPluginConfiguration ¶
func NewMemoryPressureEvictionPluginConfiguration() *MemoryPressureEvictionPluginConfiguration
NewMemoryPressureEvictionPluginConfiguration returns a new MemoryPressureEvictionPluginConfiguration
type ReclaimedResourcesEvictionPluginConfiguration ¶
type ReclaimedResourcesEvictionPluginConfiguration struct { EvictionReclaimedPodGracefulPeriod int64 SkipZeroQuantityResourceNames sets.String }
func NewReclaimedResourcesEvictionPluginConfiguration ¶
func NewReclaimedResourcesEvictionPluginConfiguration() *ReclaimedResourcesEvictionPluginConfiguration
Click to show internal directories.
Click to hide internal directories.