app

package
v0.7.4-premiumv2 Latest Latest
Warning

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

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

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"
)

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

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

func StartHTTPServer

func StartHTTPServer(c *cloudcontrollerconfig.CompletedConfig, stopCh <-chan struct{}) (*controllerhealthz.MutableHealthzHandler, 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