Documentation
¶
Index ¶
- func AddCustomGlobalFlags(fs *pflag.FlagSet)
- type CloudProviderOptions
- type DebuggingOptions
- type GenericControllerManagerConfigurationOptions
- func (o *GenericControllerManagerConfigurationOptions) AddFlags(fss *apiserverflag.NamedFlagSets, ...)
- func (o *GenericControllerManagerConfigurationOptions) ApplyTo(cfg *kubectrlmgrconfig.GenericControllerManagerConfiguration) error
- func (o *GenericControllerManagerConfigurationOptions) Validate(allControllers []string, disabledByDefaultControllers []string) []error
- type KubeCloudSharedOptions
- type ServiceControllerOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddCustomGlobalFlags ¶ added in v1.13.0
func AddCustomGlobalFlags(fs *pflag.FlagSet)
AddCustomGlobalFlags explicitly registers flags that internal packages register against the global flagsets from "flag". We do this in order to prevent unwanted flags from leaking into the *-controller-manager's flagset.
Types ¶
type CloudProviderOptions ¶ added in v1.11.0
type CloudProviderOptions struct {
CloudConfigFile string
Name string
}
CloudProviderOptions holds the cloudprovider options.
func (*CloudProviderOptions) AddFlags ¶ added in v1.11.0
func (s *CloudProviderOptions) AddFlags(fs *pflag.FlagSet)
AddFlags adds flags related to cloudprovider for controller manager to the specified FlagSet.
type DebuggingOptions ¶ added in v1.11.0
type DebuggingOptions struct {
EnableProfiling bool
EnableContentionProfiling bool
}
DebuggingOptions holds the Debugging options.
func (*DebuggingOptions) AddFlags ¶ added in v1.11.0
func (o *DebuggingOptions) AddFlags(fs *pflag.FlagSet)
AddFlags adds flags related to debugging for controller manager to the specified FlagSet.
type GenericControllerManagerConfigurationOptions ¶ added in v1.12.0
type GenericControllerManagerConfigurationOptions struct {
Port int32
Address string
MinResyncPeriod metav1.Duration
ClientConnection apimachineryconfig.ClientConnectionConfiguration
ControllerStartInterval metav1.Duration
LeaderElection apiserverconfig.LeaderElectionConfiguration
Debugging *DebuggingOptions
Controllers []string
}
GenericControllerManagerConfigurationOptions holds the options which are generic.
func NewGenericControllerManagerConfigurationOptions ¶ added in v1.12.0
func NewGenericControllerManagerConfigurationOptions(cfg kubectrlmgrconfig.GenericControllerManagerConfiguration) *GenericControllerManagerConfigurationOptions
NewGenericControllerManagerConfigurationOptions returns generic configuration default values for both the kube-controller-manager and the cloud-contoller-manager. Any common changes should be made here. Any individual changes should be made in that controller.
func (*GenericControllerManagerConfigurationOptions) AddFlags ¶ added in v1.12.0
func (o *GenericControllerManagerConfigurationOptions) AddFlags(fss *apiserverflag.NamedFlagSets, allControllers, disabledByDefaultControllers []string)
AddFlags adds flags related to generic for controller manager to the specified FlagSet.
type KubeCloudSharedOptions ¶ added in v1.11.0
type KubeCloudSharedOptions struct {
CloudProvider *CloudProviderOptions
ExternalCloudVolumePlugin string
UseServiceAccountCredentials bool
AllowUntaggedCloud bool
RouteReconciliationPeriod metav1.Duration
NodeMonitorPeriod metav1.Duration
ClusterName string
ClusterCIDR string
AllocateNodeCIDRs bool
CIDRAllocatorType string
ConfigureCloudRoutes bool
NodeSyncPeriod metav1.Duration
}
KubeCloudSharedOptions holds the options shared between kube-controller-manager and cloud-controller-manager.
func NewKubeCloudSharedOptions ¶ added in v1.11.0
func NewKubeCloudSharedOptions(cfg kubectrlmgrconfig.KubeCloudSharedConfiguration) *KubeCloudSharedOptions
NewKubeCloudSharedOptions returns common/default configuration values for both the kube-controller-manager and the cloud-contoller-manager. Any common changes should be made here. Any individual changes should be made in that controller.
func (*KubeCloudSharedOptions) AddFlags ¶ added in v1.11.0
func (o *KubeCloudSharedOptions) AddFlags(fs *pflag.FlagSet)
AddFlags adds flags related to shared variable for controller manager to the specified FlagSet.
type ServiceControllerOptions ¶ added in v1.11.0
type ServiceControllerOptions struct {
ConcurrentServiceSyncs int32
}
ServiceControllerOptions holds the ServiceController options.
func (*ServiceControllerOptions) AddFlags ¶ added in v1.11.0
func (o *ServiceControllerOptions) AddFlags(fs *pflag.FlagSet)
AddFlags adds flags related to ServiceController for controller manager to the specified FlagSet.