controllermanager

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2015 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Overview

Package controllermanager implements a server that runs a set of active components. This includes replication controllers, service endpoints and nodes.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHyperkubeServer

func NewHyperkubeServer() *hyperkube.Server

NewHyperkubeServer creates a new hyperkube Server object that includes the description and flags.

Types

type CMServer

type CMServer struct {
	Port                    int
	Address                 util.IP
	ClientConfig            client.Config
	CloudProvider           string
	CloudConfigFile         string
	MinionRegexp            string
	NodeSyncPeriod          time.Duration
	ResourceQuotaSyncPeriod time.Duration
	RegisterRetryCount      int
	MachineList             util.StringList

	// TODO: Discover these by pinging the host machines, and rip out these params.
	NodeMilliCPU int64
	NodeMemory   resource.Quantity

	KubeletConfig client.KubeletConfig
}

CMServer is the mail context object for the controller manager.

func NewCMServer

func NewCMServer() *CMServer

NewCMServer creates a new CMServer with default a default config.

func (*CMServer) AddFlags

func (s *CMServer) AddFlags(fs *pflag.FlagSet)

AddFlags adds flags for a specific CMServer to the specified FlagSet

func (*CMServer) Run

func (s *CMServer) Run(_ []string) error

Run runs the CMServer. This should never exit.

Jump to

Keyboard shortcuts

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