@@ -116,13 +115,16 @@ func (s *CMServer) AddFlags(fs *pflag.FlagSet) {
...
@@ -116,13 +115,16 @@ func (s *CMServer) AddFlags(fs *pflag.FlagSet) {
"The number of retries for initial node registration. Retry interval equals node_sync_period.")
"The number of retries for initial node registration. Retry interval equals node_sync_period.")
fs.Var(&s.MachineList,"machines","List of machines to schedule onto, comma separated.")
fs.Var(&s.MachineList,"machines","List of machines to schedule onto, comma separated.")
fs.BoolVar(&s.SyncNodeList,"sync_nodes",s.SyncNodeList,"If true, and --cloud_provider is specified, sync nodes from the cloud provider. Default true.")
fs.BoolVar(&s.SyncNodeList,"sync_nodes",s.SyncNodeList,"If true, and --cloud_provider is specified, sync nodes from the cloud provider. Default true.")
fs.DurationVar(&s.NodeMonitorGracePeriod,"node_monitor_grace_period",40*time.Second,"Amount of time which we allow running Node to be unresponsive before marking it unhealty."+
"Amount of time which we allow running Node to be unresponsive before marking it unhealty. "+
"Must be N times more than kubelet's nodeStatusUpdateFrequency, where N means number of retries allowed for kubelet to post node status.")
"Must be N times more than kubelet's nodeStatusUpdateFrequency, "+
fs.DurationVar(&s.NodeStartupGracePeriod,"node_startup_grace_period",60*time.Second,"Amount of time which we allow starting Node to be unresponsive before marking it unhealty.")
"where N means number of retries allowed for kubelet to post node status.")
fs.DurationVar(&s.NodeMonitorPeriod,"node_monitor_period",5*time.Second,"The period for syncing NodeStatus in NodeController.")