fs.DurationVar(&s.SuicideTimeout,"suicide-timeout",s.SuicideTimeout,"Self-terminate after this period of inactivity. Zero disables suicide watch.")
fs.DurationVar(&s.LaunchGracePeriod,"mesos-launch-grace-period",s.LaunchGracePeriod,"Launch grace period after which launching tasks will be cancelled. Zero disables launch cancellation.")
@@ -255,6 +257,7 @@ func (s *SchedulerServer) addCoreFlags(fs *pflag.FlagSet) {
fs.IntVar(&s.ExecutorLogV,"executor-logv",s.ExecutorLogV,"Logging verbosity of spawned minion and executor processes.")
fs.BoolVar(&s.ExecutorBindall,"executor-bindall",s.ExecutorBindall,"When true will set -address of the executor to 0.0.0.0.")
fs.DurationVar(&s.ExecutorSuicideTimeout,"executor-suicide-timeout",s.ExecutorSuicideTimeout,"Executor self-terminates after this period of inactivity. Zero disables suicide watch.")
fs.DurationVar(&s.LaunchGracePeriod,"mesos-launch-grace-period",s.LaunchGracePeriod,"Launch grace period after which launching tasks will be cancelled. Zero disables launch cancellation.")
fs.BoolVar(&s.ProxyBindall,"proxy-bindall",s.ProxyBindall,"When true pass -proxy-bindall to the executor.")
fs.BoolVar(&s.RunProxy,"run-proxy",s.RunProxy,"Run the kube-proxy as a side process of the executor.")
...
...
@@ -376,6 +379,7 @@ func (s *SchedulerServer) prepareExecutorInfo(hks hyperkube.Interface) (*mesos.E
ci.Arguments=append(ci.Arguments,fmt.Sprintf("--v=%d",s.ExecutorLogV))// this also applies to the minion