config

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	// EvictionLoopInterval defines how often to run the eviction loop process
	EvictionLoopInterval time.Duration
	// ParkedNodeTTL is used for defining the time a node can stay parked before starting force eviction process
	ParkedNodeTTL time.Duration
	// RollingRestartThreshold specifies how much time(percentage) should pass from ParkedNodeTTL before starting the rollout restart process
	RollingRestartThreshold float64
	// UpgradeStatusLabel is used for identifying parked nodes
	UpgradeStatusLabel string
	// ExpiresOnLabel is used for identifying the TTL for parked nodes
	ExpiresOnLabel string
	// NamespacePrefixSkipInitialEviction is used for proceeding directly with a rollout restart without waiting for the RollingRestartThreshold
	NamespacePrefixSkipInitialEviction string
	// RestartedAtAnnotation is used to mark a controller object for rollout restart
	RestartedAtAnnotation string
	// AllowEvictionLabel is used for skipping evicting pods that have explicitly set this label on false
	AllowEvictionLabel string
	// ToBeDeletedTaint is used for skipping a subset of parked nodes
	ToBeDeletedTaint string
}

Config struct defines application configuration options

Jump to

Keyboard shortcuts

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