Documentation
¶
Index ¶
Constants ¶
View Source
const ( // CloudControllerManagerPort is the default port for the cloud controller manager server. // This value may be overridden by a flag at startup. CloudControllerManagerPort = 10263 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloudNodeManagerOptions ¶
type CloudNodeManagerOptions struct { Master string Kubeconfig string NodeName string CloudConfigFilePath string SecureServing *apiserveroptions.SecureServingOptionsWithLoopback Authentication *apiserveroptions.DelegatingAuthenticationOptions Authorization *apiserveroptions.DelegatingAuthorizationOptions // NodeStatusUpdateFrequency is the frequency at which the manager updates nodes' status NodeStatusUpdateFrequency metav1.Duration // minResyncPeriod is the resync period in reflectors; will be random between // minResyncPeriod and 2*minResyncPeriod. MinResyncPeriod metav1.Duration // ClientConnection specifies the kubeconfig file and client connection // settings for the proxy server to use when communicating with the apiserver. ClientConnection componentbaseconfig.ClientConnectionConfiguration // WaitForRoutes indicates whether the node should wait for routes to be created on Azure. // If true, the node condition "NodeNetworkUnavailable" would be set to true on initialization. WaitForRoutes bool UseInstanceMetadata bool // WindowsService should be set to true if cloud-node-manager is running as a service on Windows. // Its corresponding flag only gets registered in Windows builds WindowsService bool }
CloudNodeManagerOptions is the main context object for the controller manager.
func NewCloudNodeManagerOptions ¶
func NewCloudNodeManagerOptions() (*CloudNodeManagerOptions, error)
NewCloudNodeManagerOptions creates a new CloudNodeManagerOptions with a default config.
func (*CloudNodeManagerOptions) ApplyTo ¶
func (o *CloudNodeManagerOptions) ApplyTo(c *cloudnodeconfig.Config, userAgent string) error
ApplyTo fills up cloud controller manager config with options.
func (*CloudNodeManagerOptions) Config ¶
func (o *CloudNodeManagerOptions) Config() (*cloudnodeconfig.Config, error)
Config return a cloud controller manager config objective
func (*CloudNodeManagerOptions) Flags ¶
func (o *CloudNodeManagerOptions) Flags() cliflag.NamedFlagSets
Flags returns flags for a specific APIServer by section name
Click to show internal directories.
Click to hide internal directories.