config

package
v0.0.0-...-dcfb068 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultPreemptMinIntervalSeconds int64 = 0

	// NamespaceSystem is the system namespace where we place godel components.
	NamespaceSystem = "godel-system"

	DefaultLeaseLock = "leases"
)

Variables

View Source
var (
	DefaultLeaseDuration      = metav1.Duration{Duration: 45 * time.Second}
	DefaultLeaseRenewDeadline = metav1.Duration{Duration: 30 * time.Second}
	DefaultLeaseRetryPeriod   = metav1.Duration{Duration: 2 * time.Second}
)

Functions

func SetDefaultLeaderElectionConfiguration

func SetDefaultLeaderElectionConfiguration(obj *componentbaseconfig.LeaderElectionConfiguration)

Types

This section is empty.

Jump to

Keyboard shortcuts

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