@@ -82,5 +85,6 @@ func (s *CloudControllerManagerServer) AddFlags(fs *pflag.FlagSet) {
fs.DurationVar(&s.ControllerStartInterval.Duration,"controller-start-interval",s.ControllerStartInterval.Duration,"Interval between starting controller managers.")
fs.DurationVar(&s.ReconcilerSyncLoopPeriod.Duration,"attach-detach-reconcile-sync-period",s.ReconcilerSyncLoopPeriod.Duration,"The reconciler sync wait time between volume attach detach. This duration must be larger than one second, and increasing this value from the default may allow for volumes to be mismatched with pods.")
leaderelection.BindFlags(&s.LeaderElection,fs)
utilflag.DefaultFeatureGate.AddFlag(fs)
utilfeature.DefaultFeatureGate.AddFlag(fs)
}
// Validate is used to validate the options and config before launching the controller manager
@@ -185,7 +186,7 @@ func (s *KubeletServer) AddFlags(fs *pflag.FlagSet) {
fs.StringVar(&s.CloudProvider,"cloud-provider",s.CloudProvider,"The provider for cloud services. By default, kubelet will attempt to auto-detect the cloud provider. Specify empty string for running with no cloud provider. [default=auto-detect]")
fs.StringVar(&s.CloudConfigFile,"cloud-config",s.CloudConfigFile,"The path to the cloud provider configuration file. Empty string for no configuration file.")
fs.StringVar(&s.FeatureGates,"feature-gates",s.FeatureGates,"A set of key=value pairs that describe feature gates for alpha/experimental features. "+
fs.StringVar(&s.KubeletCgroups,"resource-container",s.KubeletCgroups,"Optional absolute name of the resource-only container to create and run the Kubelet in.")
fs.MarkDeprecated("resource-container","Use --kubelet-cgroups instead. Will be removed in a future version.")
@@ -72,5 +75,6 @@ func (s *SchedulerServer) AddFlags(fs *pflag.FlagSet) {
"to every RequiredDuringScheduling affinity rule. --hard-pod-affinity-symmetric-weight represents the weight of implicit PreferredDuringScheduling affinity rule.")
fs.StringVar(&s.FailureDomains,"failure-domains",api.DefaultFailureDomains,"Indicate the \"all topologies\" set for an empty topologyKey when it's used for PreferredDuringScheduling pod anti-affinity.")