@@ -70,6 +74,7 @@ func (s *CloudControllerManagerServer) AddFlags(fs *pflag.FlagSet) {
...
@@ -70,6 +74,7 @@ func (s *CloudControllerManagerServer) AddFlags(fs *pflag.FlagSet) {
fs.DurationVar(&s.MinResyncPeriod.Duration,"min-resync-period",s.MinResyncPeriod.Duration,"The resync period in reflectors will be random between MinResyncPeriod and 2*MinResyncPeriod")
fs.DurationVar(&s.MinResyncPeriod.Duration,"min-resync-period",s.MinResyncPeriod.Duration,"The resync period in reflectors will be random between MinResyncPeriod and 2*MinResyncPeriod")
"The period for syncing NodeStatus in NodeController.")
"The period for syncing NodeStatus in NodeController.")
fs.DurationVar(&s.NodeStatusUpdateFrequency.Duration,"node-status-update-frequency",s.NodeStatusUpdateFrequency.Duration,"Specifies how often the controller updates nodes' status.")
fs.StringVar(&s.ServiceAccountKeyFile,"service-account-private-key-file",s.ServiceAccountKeyFile,"Filename containing a PEM-encoded private RSA or ECDSA key used to sign service account tokens.")
fs.StringVar(&s.ServiceAccountKeyFile,"service-account-private-key-file",s.ServiceAccountKeyFile,"Filename containing a PEM-encoded private RSA or ECDSA key used to sign service account tokens.")
fs.BoolVar(&s.UseServiceAccountCredentials,"use-service-account-credentials",s.UseServiceAccountCredentials,"If true, use individual service account credentials for each controller.")
fs.BoolVar(&s.UseServiceAccountCredentials,"use-service-account-credentials",s.UseServiceAccountCredentials,"If true, use individual service account credentials for each controller.")
fs.DurationVar(&s.RouteReconciliationPeriod.Duration,"route-reconciliation-period",s.RouteReconciliationPeriod.Duration,"The period for reconciling routes created for Nodes by cloud provider.")
fs.DurationVar(&s.RouteReconciliationPeriod.Duration,"route-reconciliation-period",s.RouteReconciliationPeriod.Duration,"The period for reconciling routes created for Nodes by cloud provider.")