@@ -262,6 +263,7 @@ func (s *SchedulerServer) addCoreFlags(fs *pflag.FlagSet) {
...
@@ -262,6 +263,7 @@ func (s *SchedulerServer) addCoreFlags(fs *pflag.FlagSet) {
fs.Var(&s.mesosExecutorMem,"mesos-executor-mem","Initial memory (MB) to allocate for each Mesos executor container.")
fs.Var(&s.mesosExecutorMem,"mesos-executor-mem","Initial memory (MB) to allocate for each Mesos executor container.")
fs.BoolVar(&s.checkpoint,"checkpoint",s.checkpoint,"Enable/disable checkpointing for the kubernetes-mesos framework.")
fs.BoolVar(&s.checkpoint,"checkpoint",s.checkpoint,"Enable/disable checkpointing for the kubernetes-mesos framework.")
fs.Float64Var(&s.failoverTimeout,"failover-timeout",s.failoverTimeout,fmt.Sprintf("Framework failover timeout, in sec."))
fs.Float64Var(&s.failoverTimeout,"failover-timeout",s.failoverTimeout,fmt.Sprintf("Framework failover timeout, in sec."))
fs.BoolVar(&s.generateTaskDiscovery,"mesos-generate-task-discovery",s.generateTaskDiscovery,"Enable/disable generation of DiscoveryInfo for Mesos tasks.")
fs.UintVar(&s.driverPort,"driver-port",s.driverPort,"Port that the Mesos scheduler driver process should listen on.")
fs.UintVar(&s.driverPort,"driver-port",s.driverPort,"Port that the Mesos scheduler driver process should listen on.")
fs.StringVar(&s.hostnameOverride,"hostname-override",s.hostnameOverride,"If non-empty, will use this string as identification instead of the actual hostname.")
fs.StringVar(&s.hostnameOverride,"hostname-override",s.hostnameOverride,"If non-empty, will use this string as identification instead of the actual hostname.")
fs.Int64Var(&s.reconcileInterval,"reconcile-interval",s.reconcileInterval,"Interval at which to execute task reconciliation, in sec. Zero disables.")
fs.Int64Var(&s.reconcileInterval,"reconcile-interval",s.reconcileInterval,"Interval at which to execute task reconciliation, in sec. Zero disables.")