Documentation
¶
Overview ¶
Package options provides the flags used for the controller manager.
Index ¶
- func NewDefaultComponentConfig(insecurePort int32) (componentconfig.KubeControllerManagerConfiguration, error)
- type KubeControllerManagerOptions
- func (s *KubeControllerManagerOptions) AddFlags(fs *pflag.FlagSet, allControllers []string, ...)
- func (s *KubeControllerManagerOptions) ApplyTo(c *kubecontrollerconfig.Config, userAgent string) error
- func (s KubeControllerManagerOptions) Config(allControllers []string, disabledByDefaultControllers []string) (*kubecontrollerconfig.Config, error)
- func (s *KubeControllerManagerOptions) Validate(allControllers []string, disabledByDefaultControllers []string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDefaultComponentConfig ¶ added in v1.11.1
func NewDefaultComponentConfig(insecurePort int32) (componentconfig.KubeControllerManagerConfiguration, error)
NewDefaultComponentConfig returns kube-controller manager configuration object.
Types ¶
type KubeControllerManagerOptions ¶ added in v1.10.0
type KubeControllerManagerOptions struct {
CloudProvider *cmoptions.CloudProviderOptions
Debugging *cmoptions.DebuggingOptions
GenericComponent *cmoptions.GenericComponentConfigOptions
AttachDetachController *cmoptions.AttachDetachControllerOptions
CSRSigningController *cmoptions.CSRSigningControllerOptions
DaemonSetController *cmoptions.DaemonSetControllerOptions
DeploymentController *cmoptions.DeploymentControllerOptions
DeprecatedFlags *cmoptions.DeprecatedControllerOptions
EndPointController *cmoptions.EndPointControllerOptions
GarbageCollectorController *cmoptions.GarbageCollectorControllerOptions
HPAController *cmoptions.HPAControllerOptions
JobController *cmoptions.JobControllerOptions
NamespaceController *cmoptions.NamespaceControllerOptions
NodeIpamController *cmoptions.NodeIpamControllerOptions
NodeLifecycleController *cmoptions.NodeLifecycleControllerOptions
PersistentVolumeBinderController *cmoptions.PersistentVolumeBinderControllerOptions
PodGCController *cmoptions.PodGCControllerOptions
ReplicaSetController *cmoptions.ReplicaSetControllerOptions
ReplicationController *cmoptions.ReplicationControllerOptions
ResourceQuotaController *cmoptions.ResourceQuotaControllerOptions
SAController *cmoptions.SAControllerOptions
ServiceController *cmoptions.ServiceControllerOptions
Controllers []string
ExternalCloudVolumePlugin string
SecureServing *apiserveroptions.SecureServingOptions
// TODO: remove insecure serving mode
InsecureServing *cmoptions.InsecureServingOptions
Authentication *apiserveroptions.DelegatingAuthenticationOptions
Authorization *apiserveroptions.DelegatingAuthorizationOptions
Master string
Kubeconfig string
}
KubeControllerManagerOptions is the main context object for the kube-controller manager.
func NewKubeControllerManagerOptions ¶ added in v1.10.0
func NewKubeControllerManagerOptions() (*KubeControllerManagerOptions, error)
NewKubeControllerManagerOptions creates a new KubeControllerManagerOptions with a default config.
func (*KubeControllerManagerOptions) AddFlags ¶ added in v1.10.0
func (s *KubeControllerManagerOptions) AddFlags(fs *pflag.FlagSet, allControllers []string, disabledByDefaultControllers []string)
AddFlags adds flags for a specific KubeControllerManagerOptions to the specified FlagSet
func (*KubeControllerManagerOptions) ApplyTo ¶ added in v1.10.0
func (s *KubeControllerManagerOptions) ApplyTo(c *kubecontrollerconfig.Config, userAgent string) error
ApplyTo fills up controller manager config with options.
func (KubeControllerManagerOptions) Config ¶ added in v1.10.0
func (s KubeControllerManagerOptions) Config(allControllers []string, disabledByDefaultControllers []string) (*kubecontrollerconfig.Config, error)
Config return a controller manager config objective
Click to show internal directories.
Click to hide internal directories.