Documentation ¶
Index ¶
- Constants
- func NewDefaultControllerManagerComponentConfig(insecurePort int32) componentconfig.KubeControllerManagerConfiguration
- type AttachDetachControllerOptions
- type CSRSigningControllerOptions
- type CloudProviderOptions
- type DaemonSetControllerOptions
- type DebuggingOptions
- type DeploymentControllerOptions
- type DeprecatedControllerOptions
- type EndPointControllerOptions
- type GarbageCollectorControllerOptions
- type GenericComponentConfigOptions
- type GenericControllerManagerOptions
- type HPAControllerOptions
- type InsecureServingOptions
- type JobControllerOptions
- type KubeCloudSharedOptions
- type NamespaceControllerOptions
- type NodeIpamControllerOptions
- type NodeLifecycleControllerOptions
- type PersistentVolumeBinderControllerOptions
- type PodGCControllerOptions
- type ReplicaSetControllerOptions
- type ReplicationControllerOptions
- type ResourceQuotaControllerOptions
- type SAControllerOptions
- type ServiceControllerOptions
Constants ¶
const ( // DefaultClusterSigningCertFile is deprecated. Do not use. DefaultClusterSigningCertFile = "/etc/kubernetes/ca/ca.pem" // DefaultClusterSigningKeyFile is deprecated. Do not use. DefaultClusterSigningKeyFile = "/etc/kubernetes/ca/ca.key" )
Variables ¶
This section is empty.
Functions ¶
func NewDefaultControllerManagerComponentConfig ¶
func NewDefaultControllerManagerComponentConfig(insecurePort int32) componentconfig.KubeControllerManagerConfiguration
NewDefaultControllerManagerComponentConfig returns default kube-controller manager configuration object.
Types ¶
type AttachDetachControllerOptions ¶ added in v1.11.0
type AttachDetachControllerOptions struct { ReconcilerSyncLoopPeriod metav1.Duration DisableAttachDetachReconcilerSync bool }
AttachDetachControllerOptions holds the AttachDetachController options.
func (*AttachDetachControllerOptions) AddFlags ¶ added in v1.11.0
func (o *AttachDetachControllerOptions) AddFlags(fs *pflag.FlagSet)
AddFlags adds flags related to AttachDetachController for controller manager to the specified FlagSet.
func (*AttachDetachControllerOptions) ApplyTo ¶ added in v1.11.0
func (o *AttachDetachControllerOptions) ApplyTo(cfg *componentconfig.AttachDetachControllerConfiguration) error
ApplyTo fills up AttachDetachController config with options.
func (*AttachDetachControllerOptions) Validate ¶ added in v1.11.0
func (o *AttachDetachControllerOptions) Validate() []error
Validate checks validation of AttachDetachControllerOptions.
type CSRSigningControllerOptions ¶ added in v1.11.0
type CSRSigningControllerOptions struct { ClusterSigningDuration metav1.Duration ClusterSigningKeyFile string ClusterSigningCertFile string }
CSRSigningControllerOptions holds the CSRSigningController options.
func (*CSRSigningControllerOptions) AddFlags ¶ added in v1.11.0
func (o *CSRSigningControllerOptions) AddFlags(fs *pflag.FlagSet)
AddFlags adds flags related to CSRSigningController for controller manager to the specified FlagSet.
func (*CSRSigningControllerOptions) ApplyTo ¶ added in v1.11.0
func (o *CSRSigningControllerOptions) ApplyTo(cfg *componentconfig.CSRSigningControllerConfiguration) error
ApplyTo fills up CSRSigningController config with options.
func (*CSRSigningControllerOptions) Validate ¶ added in v1.11.0
func (o *CSRSigningControllerOptions) Validate() []error
Validate checks validation of CSRSigningControllerOptions.
type CloudProviderOptions ¶ added in v1.11.0
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.
func (*CloudProviderOptions) ApplyTo ¶ added in v1.11.0
func (s *CloudProviderOptions) ApplyTo(cfg *componentconfig.CloudProviderConfiguration) error
ApplyTo fills up cloudprovider config with options.
func (*CloudProviderOptions) Validate ¶ added in v1.11.0
func (s *CloudProviderOptions) Validate() []error
Validate checks validation of cloudprovider options.
type DaemonSetControllerOptions ¶ added in v1.11.0
type DaemonSetControllerOptions struct {
ConcurrentDaemonSetSyncs int32
}
DaemonSetControllerOptions holds the DaemonSetController options.
func (*DaemonSetControllerOptions) AddFlags ¶ added in v1.11.0
func (o *DaemonSetControllerOptions) AddFlags(fs *pflag.FlagSet)
AddFlags adds flags related to DaemonSetController for controller manager to the specified FlagSet.
func (*DaemonSetControllerOptions) ApplyTo ¶ added in v1.11.0
func (o *DaemonSetControllerOptions) ApplyTo(cfg *componentconfig.DaemonSetControllerConfiguration) error
ApplyTo fills up DaemonSetController config with options.
func (*DaemonSetControllerOptions) Validate ¶ added in v1.11.0
func (o *DaemonSetControllerOptions) Validate() []error
Validate checks validation of DaemonSetControllerOptions.
type DebuggingOptions ¶ added in v1.11.0
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.
func (*DebuggingOptions) ApplyTo ¶ added in v1.11.0
func (o *DebuggingOptions) ApplyTo(cfg *componentconfig.DebuggingConfiguration) error
ApplyTo fills up Debugging config with options.
func (*DebuggingOptions) Validate ¶ added in v1.11.0
func (o *DebuggingOptions) Validate() []error
Validate checks validation of DebuggingOptions.
type DeploymentControllerOptions ¶ added in v1.11.0
type DeploymentControllerOptions struct { ConcurrentDeploymentSyncs int32 DeploymentControllerSyncPeriod metav1.Duration }
DeploymentControllerOptions holds the DeploymentController options.
func (*DeploymentControllerOptions) AddFlags ¶ added in v1.11.0
func (o *DeploymentControllerOptions) AddFlags(fs *pflag.FlagSet)
AddFlags adds flags related to DeploymentController for controller manager to the specified FlagSet.
func (*DeploymentControllerOptions) ApplyTo ¶ added in v1.11.0
func (o *DeploymentControllerOptions) ApplyTo(cfg *componentconfig.DeploymentControllerConfiguration) error
ApplyTo fills up DeploymentController config with options.
func (*DeploymentControllerOptions) Validate ¶ added in v1.11.0
func (o *DeploymentControllerOptions) Validate() []error
Validate checks validation of DeploymentControllerOptions.
type DeprecatedControllerOptions ¶ added in v1.11.0
type DeprecatedControllerOptions struct { DeletingPodsQPS float32 DeletingPodsBurst int32 RegisterRetryCount int32 }
DeprecatedControllerOptions holds the DeprecatedController options, those option are deprecated.
func (*DeprecatedControllerOptions) AddFlags ¶ added in v1.11.0
func (o *DeprecatedControllerOptions) AddFlags(fs *pflag.FlagSet)
AddFlags adds flags related to DeprecatedController for controller manager to the specified FlagSet.
func (*DeprecatedControllerOptions) ApplyTo ¶ added in v1.11.0
func (o *DeprecatedControllerOptions) ApplyTo(cfg *componentconfig.DeprecatedControllerConfiguration) error
ApplyTo fills up DeprecatedController config with options.
func (*DeprecatedControllerOptions) Validate ¶ added in v1.11.0
func (o *DeprecatedControllerOptions) Validate() []error
Validate checks validation of DeprecatedControllerOptions.
type EndPointControllerOptions ¶ added in v1.11.0
type EndPointControllerOptions struct {
ConcurrentEndpointSyncs int32
}
EndPointControllerOptions holds the EndPointController options.
func (*EndPointControllerOptions) AddFlags ¶ added in v1.11.0
func (o *EndPointControllerOptions) AddFlags(fs *pflag.FlagSet)
AddFlags adds flags related to EndPointController for controller manager to the specified FlagSet.
func (*EndPointControllerOptions) ApplyTo ¶ added in v1.11.0
func (o *EndPointControllerOptions) ApplyTo(cfg *componentconfig.EndPointControllerConfiguration) error
ApplyTo fills up EndPointController config with options.
func (*EndPointControllerOptions) Validate ¶ added in v1.11.0
func (o *EndPointControllerOptions) Validate() []error
Validate checks validation of EndPointControllerOptions.
type GarbageCollectorControllerOptions ¶ added in v1.11.0
type GarbageCollectorControllerOptions struct { ConcurrentGCSyncs int32 GCIgnoredResources []componentconfig.GroupResource EnableGarbageCollector bool }
GarbageCollectorControllerOptions holds the GarbageCollectorController options.
func (*GarbageCollectorControllerOptions) AddFlags ¶ added in v1.11.0
func (o *GarbageCollectorControllerOptions) AddFlags(fs *pflag.FlagSet)
AddFlags adds flags related to GarbageCollectorController for controller manager to the specified FlagSet.
func (*GarbageCollectorControllerOptions) ApplyTo ¶ added in v1.11.0
func (o *GarbageCollectorControllerOptions) ApplyTo(cfg *componentconfig.GarbageCollectorControllerConfiguration) error
ApplyTo fills up GarbageCollectorController config with options.
func (*GarbageCollectorControllerOptions) Validate ¶ added in v1.11.0
func (o *GarbageCollectorControllerOptions) Validate() []error
Validate checks validation of GarbageCollectorController.
type GenericComponentConfigOptions ¶ added in v1.11.0
type GenericComponentConfigOptions struct { MinResyncPeriod metav1.Duration ContentType string KubeAPIQPS float32 KubeAPIBurst int32 ControllerStartInterval metav1.Duration LeaderElection componentconfig.LeaderElectionConfiguration }
GenericComponentConfigOptions holds the options which are generic.
func (*GenericComponentConfigOptions) AddFlags ¶ added in v1.11.0
func (o *GenericComponentConfigOptions) AddFlags(fs *pflag.FlagSet)
AddFlags adds flags related to generic for controller manager to the specified FlagSet.
func (*GenericComponentConfigOptions) ApplyTo ¶ added in v1.11.0
func (o *GenericComponentConfigOptions) ApplyTo(cfg *componentconfig.GenericComponentConfiguration) error
ApplyTo fills up generic config with options.
func (*GenericComponentConfigOptions) Validate ¶ added in v1.11.0
func (o *GenericComponentConfigOptions) Validate() []error
Validate checks validation of GenericOptions.
type GenericControllerManagerOptions ¶
type GenericControllerManagerOptions struct { CloudProvider *CloudProviderOptions Debugging *DebuggingOptions GenericComponent *GenericComponentConfigOptions AttachDetachController *AttachDetachControllerOptions CSRSigningController *CSRSigningControllerOptions DaemonSetController *DaemonSetControllerOptions DeploymentController *DeploymentControllerOptions DeprecatedFlags *DeprecatedControllerOptions EndPointController *EndPointControllerOptions GarbageCollectorController *GarbageCollectorControllerOptions HPAController *HPAControllerOptions JobController *JobControllerOptions NamespaceController *NamespaceControllerOptions NodeIpamController *NodeIpamControllerOptions NodeLifecycleController *NodeLifecycleControllerOptions PersistentVolumeBinderController *PersistentVolumeBinderControllerOptions PodGCController *PodGCControllerOptions ReplicaSetController *ReplicaSetControllerOptions ReplicationController *ReplicationControllerOptions ResourceQuotaController *ResourceQuotaControllerOptions SAController *SAControllerOptions ServiceController *ServiceControllerOptions Controllers []string ExternalCloudVolumePlugin string SecureServing *apiserveroptions.SecureServingOptions // TODO: remove insecure serving mode InsecureServing *InsecureServingOptions Authentication *apiserveroptions.DelegatingAuthenticationOptions Authorization *apiserveroptions.DelegatingAuthorizationOptions Master string Kubeconfig string }
GenericControllerManagerOptions is the common structure for a controller manager. It works with NewGenericControllerManagerOptions and AddDefaultControllerFlags to create the common components of kube-controller-manager and cloud-controller-manager.
func NewGenericControllerManagerOptions ¶
func NewGenericControllerManagerOptions(componentConfig componentconfig.KubeControllerManagerConfiguration) *GenericControllerManagerOptions
NewGenericControllerManagerOptions 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 (*GenericControllerManagerOptions) AddFlags ¶
func (o *GenericControllerManagerOptions) AddFlags(fs *pflag.FlagSet)
AddFlags adds common/default flags for both the kube and cloud Controller Manager Server to the specified FlagSet. Any common changes should be made here. Any individual changes should be made in that controller.
func (*GenericControllerManagerOptions) ApplyTo ¶
func (o *GenericControllerManagerOptions) ApplyTo(c *genericcontrollermanager.Config, userAgent string) error
ApplyTo fills up controller manager config with options and userAgent
func (*GenericControllerManagerOptions) Validate ¶
func (o *GenericControllerManagerOptions) Validate() []error
Validate checks GenericControllerManagerOptions and return a slice of found errors.
type HPAControllerOptions ¶ added in v1.11.0
type HPAControllerOptions struct { HorizontalPodAutoscalerUseRESTClients bool HorizontalPodAutoscalerTolerance float64 HorizontalPodAutoscalerDownscaleForbiddenWindow metav1.Duration HorizontalPodAutoscalerUpscaleForbiddenWindow metav1.Duration HorizontalPodAutoscalerSyncPeriod metav1.Duration }
HPAControllerOptions holds the HPAController options.
func (*HPAControllerOptions) AddFlags ¶ added in v1.11.0
func (o *HPAControllerOptions) AddFlags(fs *pflag.FlagSet)
AddFlags adds flags related to HPAController for controller manager to the specified FlagSet.
func (*HPAControllerOptions) ApplyTo ¶ added in v1.11.0
func (o *HPAControllerOptions) ApplyTo(cfg *componentconfig.HPAControllerConfiguration) error
ApplyTo fills up HPAController config with options.
func (*HPAControllerOptions) Validate ¶ added in v1.11.0
func (o *HPAControllerOptions) Validate() []error
Validate checks validation of HPAControllerOptions.
type InsecureServingOptions ¶
type InsecureServingOptions struct { BindAddress net.IP BindPort int // BindNetwork is the type of network to bind to - defaults to "tcp", accepts "tcp", // "tcp4", and "tcp6". BindNetwork string // Listener is the secure server network listener. // either Listener or BindAddress/BindPort/BindNetwork is set, // if Listener is set, use it and omit BindAddress/BindPort/BindNetwork. Listener net.Listener // ListenFunc can be overridden to create a custom listener, e.g. for mocking in tests. // It defaults to options.CreateListener. ListenFunc func(network, addr string) (net.Listener, int, error) }
InsecureServingOptions are for creating an unauthenticated, unauthorized, insecure port. No one should be using these anymore.
func (*InsecureServingOptions) AddFlags ¶
func (s *InsecureServingOptions) AddFlags(fs *pflag.FlagSet)
AddFlags adds flags related to insecure serving for controller manager to the specified FlagSet.
func (*InsecureServingOptions) ApplyTo ¶
func (s *InsecureServingOptions) ApplyTo(c **genericcontrollermanager.InsecureServingInfo) error
ApplyTo adds InsecureServingOptions to the insecureserverinfo amd kube-controller manager configuration. Note: the double pointer allows to set the *InsecureServingInfo to nil without referencing the struct hosting this pointer.
func (*InsecureServingOptions) Validate ¶
func (s *InsecureServingOptions) Validate() []error
Validate ensures that the insecure port values within the range of the port.
type JobControllerOptions ¶ added in v1.11.0
type JobControllerOptions struct {
ConcurrentJobSyncs int32
}
JobControllerOptions holds the JobController options.
func (*JobControllerOptions) AddFlags ¶ added in v1.11.0
func (o *JobControllerOptions) AddFlags(fs *pflag.FlagSet)
AddFlags adds flags related to JobController for controller manager to the specified FlagSet.
func (*JobControllerOptions) ApplyTo ¶ added in v1.11.0
func (o *JobControllerOptions) ApplyTo(cfg *componentconfig.JobControllerConfiguration) error
ApplyTo fills up JobController config with options.
func (*JobControllerOptions) Validate ¶ added in v1.11.0
func (o *JobControllerOptions) Validate() []error
Validate checks validation of JobControllerOptions.
type KubeCloudSharedOptions ¶ added in v1.11.0
type KubeCloudSharedOptions struct {}
KubeCloudSharedOptions holds the options shared between kube-controller-manager and cloud-controller-manager.
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.
func (*KubeCloudSharedOptions) ApplyTo ¶ added in v1.11.0
func (o *KubeCloudSharedOptions) ApplyTo(cfg *componentconfig.KubeCloudSharedConfiguration) error
ApplyTo fills up KubeCloudShared config with options.
func (*KubeCloudSharedOptions) Validate ¶ added in v1.11.0
func (o *KubeCloudSharedOptions) Validate() []error
Validate checks validation of KubeCloudSharedOptions.
type NamespaceControllerOptions ¶ added in v1.11.0
type NamespaceControllerOptions struct { NamespaceSyncPeriod metav1.Duration ConcurrentNamespaceSyncs int32 }
NamespaceControllerOptions holds the NamespaceController options.
func (*NamespaceControllerOptions) AddFlags ¶ added in v1.11.0
func (o *NamespaceControllerOptions) AddFlags(fs *pflag.FlagSet)
AddFlags adds flags related to NamespaceController for controller manager to the specified FlagSet.
func (*NamespaceControllerOptions) ApplyTo ¶ added in v1.11.0
func (o *NamespaceControllerOptions) ApplyTo(cfg *componentconfig.NamespaceControllerConfiguration) error
ApplyTo fills up NamespaceController config with options.
func (*NamespaceControllerOptions) Validate ¶ added in v1.11.0
func (o *NamespaceControllerOptions) Validate() []error
Validate checks validation of NamespaceControllerOptions.
type NodeIpamControllerOptions ¶ added in v1.11.0
NodeIpamControllerOptions holds the NodeIpamController options.
func (*NodeIpamControllerOptions) AddFlags ¶ added in v1.11.0
func (o *NodeIpamControllerOptions) AddFlags(fs *pflag.FlagSet)
AddFlags adds flags related to NodeIpamController for controller manager to the specified FlagSet.
func (*NodeIpamControllerOptions) ApplyTo ¶ added in v1.11.0
func (o *NodeIpamControllerOptions) ApplyTo(cfg *componentconfig.NodeIpamControllerConfiguration) error
ApplyTo fills up NodeIpamController config with options.
func (*NodeIpamControllerOptions) Validate ¶ added in v1.11.0
func (o *NodeIpamControllerOptions) Validate() []error
Validate checks validation of NodeIpamControllerOptions.
type NodeLifecycleControllerOptions ¶ added in v1.11.0
type NodeLifecycleControllerOptions struct { EnableTaintManager bool NodeEvictionRate float32 SecondaryNodeEvictionRate float32 NodeStartupGracePeriod metav1.Duration NodeMonitorGracePeriod metav1.Duration PodEvictionTimeout metav1.Duration LargeClusterSizeThreshold int32 UnhealthyZoneThreshold float32 }
NodeLifecycleControllerOptions holds the NodeLifecycleController options.
func (*NodeLifecycleControllerOptions) AddFlags ¶ added in v1.11.0
func (o *NodeLifecycleControllerOptions) AddFlags(fs *pflag.FlagSet)
AddFlags adds flags related to NodeLifecycleController for controller manager to the specified FlagSet.
func (*NodeLifecycleControllerOptions) ApplyTo ¶ added in v1.11.0
func (o *NodeLifecycleControllerOptions) ApplyTo(cfg *componentconfig.NodeLifecycleControllerConfiguration) error
ApplyTo fills up NodeLifecycleController config with options.
func (*NodeLifecycleControllerOptions) Validate ¶ added in v1.11.0
func (o *NodeLifecycleControllerOptions) Validate() []error
Validate checks validation of NodeLifecycleControllerOptions.
type PersistentVolumeBinderControllerOptions ¶ added in v1.11.0
type PersistentVolumeBinderControllerOptions struct { PVClaimBinderSyncPeriod metav1.Duration VolumeConfiguration componentconfig.VolumeConfiguration }
PersistentVolumeBinderControllerOptions holds the PersistentVolumeBinderController options.
func (*PersistentVolumeBinderControllerOptions) AddFlags ¶ added in v1.11.0
func (o *PersistentVolumeBinderControllerOptions) AddFlags(fs *pflag.FlagSet)
AddFlags adds flags related to PersistentVolumeBinderController for controller manager to the specified FlagSet.
func (*PersistentVolumeBinderControllerOptions) ApplyTo ¶ added in v1.11.0
func (o *PersistentVolumeBinderControllerOptions) ApplyTo(cfg *componentconfig.PersistentVolumeBinderControllerConfiguration) error
ApplyTo fills up PersistentVolumeBinderController config with options.
func (*PersistentVolumeBinderControllerOptions) Validate ¶ added in v1.11.0
func (o *PersistentVolumeBinderControllerOptions) Validate() []error
Validate checks validation of PersistentVolumeBinderControllerOptions.
type PodGCControllerOptions ¶ added in v1.11.0
type PodGCControllerOptions struct {
TerminatedPodGCThreshold int32
}
PodGCControllerOptions holds the PodGCController options.
func (*PodGCControllerOptions) AddFlags ¶ added in v1.11.0
func (o *PodGCControllerOptions) AddFlags(fs *pflag.FlagSet)
AddFlags adds flags related to PodGCController for controller manager to the specified FlagSet.
func (*PodGCControllerOptions) ApplyTo ¶ added in v1.11.0
func (o *PodGCControllerOptions) ApplyTo(cfg *componentconfig.PodGCControllerConfiguration) error
ApplyTo fills up PodGCController config with options.
func (*PodGCControllerOptions) Validate ¶ added in v1.11.0
func (o *PodGCControllerOptions) Validate() []error
Validate checks validation of PodGCControllerOptions.
type ReplicaSetControllerOptions ¶ added in v1.11.0
type ReplicaSetControllerOptions struct {
ConcurrentRSSyncs int32
}
ReplicaSetControllerOptions holds the ReplicaSetController options.
func (*ReplicaSetControllerOptions) AddFlags ¶ added in v1.11.0
func (o *ReplicaSetControllerOptions) AddFlags(fs *pflag.FlagSet)
AddFlags adds flags related to ReplicaSetController for controller manager to the specified FlagSet.
func (*ReplicaSetControllerOptions) ApplyTo ¶ added in v1.11.0
func (o *ReplicaSetControllerOptions) ApplyTo(cfg *componentconfig.ReplicaSetControllerConfiguration) error
ApplyTo fills up ReplicaSetController config with options.
func (*ReplicaSetControllerOptions) Validate ¶ added in v1.11.0
func (o *ReplicaSetControllerOptions) Validate() []error
Validate checks validation of ReplicaSetControllerOptions.
type ReplicationControllerOptions ¶ added in v1.11.0
type ReplicationControllerOptions struct {
ConcurrentRCSyncs int32
}
ReplicationControllerOptions holds the ReplicationController options.
func (*ReplicationControllerOptions) AddFlags ¶ added in v1.11.0
func (o *ReplicationControllerOptions) AddFlags(fs *pflag.FlagSet)
AddFlags adds flags related to ReplicationController for controller manager to the specified FlagSet.
func (*ReplicationControllerOptions) ApplyTo ¶ added in v1.11.0
func (o *ReplicationControllerOptions) ApplyTo(cfg *componentconfig.ReplicationControllerConfiguration) error
ApplyTo fills up ReplicationController config with options.
func (*ReplicationControllerOptions) Validate ¶ added in v1.11.0
func (o *ReplicationControllerOptions) Validate() []error
Validate checks validation of ReplicationControllerOptions.
type ResourceQuotaControllerOptions ¶ added in v1.11.0
type ResourceQuotaControllerOptions struct { ResourceQuotaSyncPeriod metav1.Duration ConcurrentResourceQuotaSyncs int32 }
ResourceQuotaControllerOptions holds the ResourceQuotaController options.
func (*ResourceQuotaControllerOptions) AddFlags ¶ added in v1.11.0
func (o *ResourceQuotaControllerOptions) AddFlags(fs *pflag.FlagSet)
AddFlags adds flags related to ResourceQuotaController for controller manager to the specified FlagSet.
func (*ResourceQuotaControllerOptions) ApplyTo ¶ added in v1.11.0
func (o *ResourceQuotaControllerOptions) ApplyTo(cfg *componentconfig.ResourceQuotaControllerConfiguration) error
ApplyTo fills up ResourceQuotaController config with options.
func (*ResourceQuotaControllerOptions) Validate ¶ added in v1.11.0
func (o *ResourceQuotaControllerOptions) Validate() []error
Validate checks validation of ResourceQuotaControllerOptions.
type SAControllerOptions ¶ added in v1.11.0
SAControllerOptions holds the ServiceAccountController options.
func (*SAControllerOptions) AddFlags ¶ added in v1.11.0
func (o *SAControllerOptions) AddFlags(fs *pflag.FlagSet)
AddFlags adds flags related to ServiceAccountController for controller manager to the specified FlagSet
func (*SAControllerOptions) ApplyTo ¶ added in v1.11.0
func (o *SAControllerOptions) ApplyTo(cfg *componentconfig.SAControllerConfiguration) error
ApplyTo fills up ServiceAccountController config with options.
func (*SAControllerOptions) Validate ¶ added in v1.11.0
func (o *SAControllerOptions) Validate() []error
Validate checks validation of ServiceAccountControllerOptions.
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.
func (*ServiceControllerOptions) ApplyTo ¶ added in v1.11.0
func (o *ServiceControllerOptions) ApplyTo(cfg *componentconfig.ServiceControllerConfiguration) error
ApplyTo fills up ServiceController config with options.
func (*ServiceControllerOptions) Validate ¶ added in v1.11.0
func (o *ServiceControllerOptions) Validate() []error
Validate checks validation of ServiceControllerOptions.
Source Files ¶
- attachdetachcontroller.go
- cloudprovider.go
- csrsigningcontroller.go
- daemonsetcontroller.go
- debugging.go
- deploymentcontroller.go
- deprecatedcontroller.go
- endpointcontroller.go
- garbagecollectorcontroller.go
- generic.go
- hpacontroller.go
- insecure_serving.go
- jobcontroller.go
- kubecloudshared.go
- namespacecontroller.go
- nodeipamcontroller.go
- nodelifecyclecontroller.go
- options.go
- persistentvolumebindercontroller.go
- podgccontroller.go
- replicasetcontroller.go
- replicationcontroller.go
- resourcequotacontroller.go
- serviceaccountcontroller.go
- servicecontroller.go