Documentation ¶
Overview ¶
Package app 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 ¶
This section is empty.
Types ¶
type CMServer ¶
type CMServer struct { Port int Address util.IP CloudProvider string CloudConfigFile string ConcurrentEndpointSyncs int ConcurrentRCSyncs int MinionRegexp string NodeSyncPeriod time.Duration ResourceQuotaSyncPeriod time.Duration NamespaceSyncPeriod time.Duration PVClaimBinderSyncPeriod time.Duration EnablePVCClaimBinder bool 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 ServiceAccountKeyFile string // TODO: Discover these by pinging the host machines, and rip out these params. NodeMilliCPU int64 NodeMemory resource.Quantity ClusterName string ClusterCIDR util.IPNet AllocateNodeCIDRs bool EnableProfiling bool Master string Kubeconfig string }
CMServer is the main context object for the controller manager.
func NewCMServer ¶
func NewCMServer() *CMServer
NewCMServer creates a new CMServer with a default config.
Click to show internal directories.
Click to hide internal directories.