package app

import "k8s.io/kubernetes/cmd/kube-controller-manager/app"

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

Index

Functions

func ProbeRecyclableVolumePlugins

func ProbeRecyclableVolumePlugins() []volume.VolumePlugin

ProbeRecyclableVolumePlugins collects all persistent volume plugins into an easy to use list.

Types

type CMServer

type CMServer struct {
	Port                    int
	Address                 util.IP
	CloudProvider           string
	CloudConfigFile         string
	ConcurrentEndpointSyncs int
	ConcurrentRCSyncs       int
	NodeSyncPeriod          time.Duration
	ResourceQuotaSyncPeriod time.Duration
	NamespaceSyncPeriod     time.Duration
	PVClaimBinderSyncPeriod time.Duration
	RegisterRetryCount      int
	NodeMonitorGracePeriod  time.Duration
	NodeStartupGracePeriod  time.Duration
	NodeMonitorPeriod       time.Duration
	NodeStatusUpdateRetry   int
	PodEvictionTimeout      time.Duration
	DeletingPodsQps         float32
	DeletingPodsBurst       int
	ServiceAccountKeyFile   string

	ClusterName       string
	ClusterCIDR       util.IPNet
	AllocateNodeCIDRs bool
	EnableProfiling   bool

	Master     string
	Kubeconfig string

	// The following fields are deprecated and unused except in flag parsing.
	MinionRegexp   string
	MachineList    util.StringList
	SyncNodeList   bool
	SyncNodeStatus bool
	NodeMilliCPU   int64
	NodeMemory     resource.Quantity
}

CMServer is the main context object for the controller manager.

func NewCMServer

func NewCMServer() *CMServer

NewCMServer creates a new CMServer with 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.

Source Files

controllermanager.go plugins.go

Version
v0.19.2
Published
Jun 22, 2015
Platform
js/wasm
Imports
35 packages
Last checked
2 minutes ago

Tools for package owners.