// cache this for later use. also useful in case the original binary gets deleted, e.g.
// during upgrades, development deployments, etc.
...
...
@@ -245,6 +250,7 @@ func (s *SchedulerServer) addCoreFlags(fs *pflag.FlagSet) {
fs.Var(&s.DefaultContainerMemLimit,"default-container-mem-limit","Containers without a memory resource limit are admitted this much amount of memory in MB")
fs.BoolVar(&s.ContainPodResources,"contain-pod-resources",s.ContainPodResources,"Reparent pod containers into mesos cgroups; disable if you're having strange mesos/docker/systemd interactions.")
fs.BoolVar(&s.AccountForPodResources,"account-for-pod-resources",s.AccountForPodResources,"Allocate pod CPU and memory resources from offers (Default: true)")
fs.DurationVar(&s.nodeRelistPeriod,"node-monitor-period",s.nodeRelistPeriod,"Period between relisting of all nodes from the apiserver.")
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.")