consts

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// DefaultLeaderElectLeaseDuration is the default duration that non-leader candidates will
	// wait to force acquire leadership.
	DefaultLeaderElectLeaseDuration = 15 * time.Second

	// DefaultLeaderElectRenewDeadline is the default duration that the acting master will retry
	// refreshing leadership before giving up.
	DefaultLeaderElectRenewDeadline = 10 * time.Second

	// DefaultLeaderElectRetryPeriod is the default duration the LeaderElector clients should wait
	// between tries of actions.
	DefaultLeaderElectRetryPeriod = 2 * time.Second

	// DefaultWebhookPort is the default port that the webhook server serves at.
	DefaultWebhookPort = 9443

	// DefaultSyncPeriod is the default resync period for the controller manager's cache.
	DefaultSyncPeriod = 10 * time.Minute

	// DefaultFileOwner is the default owner of the files created by the controller.
	DefaultFileOwner = "root:root"

	// DefaultFileMode is the default mode of the files created by the controller.
	DefaultFileMode = "0644"

	// FileModeRootExecutable is the mode of the files created by the controller when the owner is root.
	FileModeRootExecutable = "700"
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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