app

package
v1.0.23 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2022 License: Apache-2.0 Imports: 42 Imported by: 2

Documentation

Overview

Package app implements a server that runs a set of active components. This includes node controllers, service and route controller, and so on.

Index

Constants

View Source
const (
	// ControllerStartJitter is the jitter value used when starting controller managers.
	ControllerStartJitter = 1.0
	// ConfigzName is the name used for register cloud-controller manager /configz, same with GroupName.
	ConfigzName = "cloudcontrollermanager.config.k8s.io"
)
View Source
const (
	// IPv6DualStack enables ipv6 dual stack
	//
	// owner: @khenidak
	// alpha: v1.15
	IPv6DualStack featuregate.Feature = "IPv6DualStack"
)

Variables

View Source
var ControllersDisabledByDefault = sets.NewString()

ControllersDisabledByDefault is the controller disabled default when starting cloud-controller managers.

Functions

func KnownControllers

func KnownControllers() []string

KnownControllers indicate the default controller we are known.

func NewCloudControllerManagerCommand

func NewCloudControllerManagerCommand() *cobra.Command

NewCloudControllerManagerCommand creates a *cobra.Command object with default parameters

func Run

Run runs the ExternalCMServer. This should never exit.

func RunWrapper added in v1.0.0

RunWrapper adapts the ccm boot logic to the leader elector call back function

func StartHTTPServer added in v1.0.0

func StartHTTPServer(c *cloudcontrollerconfig.CompletedConfig, stopCh <-chan struct{}) error

StartHTTPServer starts the controller manager HTTP server

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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