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 ¶
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 NamespaceSyncPeriod time.Duration RegisterRetryCount int MachineList util.StringList SyncNodeList bool SyncNodeStatus bool NodeMonitorGracePeriod time.Duration NodeStartupGracePeriod time.Duration NodeMonitorPeriod time.Duration NodeStatusUpdateRetry int PodEvictionTimeout time.Duration DeletingPodsQps float32 DeletingPodsBurst int // TODO: Discover these by pinging the host machines, and rip out these params. NodeMilliCPU int64 NodeMemory resource.Quantity KubeletConfig client.KubeletConfig ClusterName string EnableProfiling bool }
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 ¶
AddFlags adds flags for a specific CMServer to the specified FlagSet
func (*CMServer) Run ¶
Run runs the CMServer. This should never exit.
Source Files ¶
controllermanager.go plugins.go
- Version
- v0.15.0
- Published
- Apr 13, 2015
- Platform
- js/wasm
- Imports
- 24 packages
- Last checked
- 5 minutes ago –
Tools for package owners.