@@ -272,6 +278,7 @@ func (s *SchedulerServer) addCoreFlags(fs *pflag.FlagSet) {
...
@@ -272,6 +278,7 @@ func (s *SchedulerServer) addCoreFlags(fs *pflag.FlagSet) {
fs.BoolVar(&s.graceful,"graceful",s.graceful,"Indicator of a graceful failover, intended for internal use only.")
fs.BoolVar(&s.graceful,"graceful",s.graceful,"Indicator of a graceful failover, intended for internal use only.")
fs.BoolVar(&s.ha,"ha",s.ha,"Run the scheduler in high availability mode with leader election. All peers should be configured exactly the same.")
fs.BoolVar(&s.ha,"ha",s.ha,"Run the scheduler in high availability mode with leader election. All peers should be configured exactly the same.")
fs.StringVar(&s.frameworkName,"framework-name",s.frameworkName,"The framework name to register with Mesos.")
fs.StringVar(&s.frameworkName,"framework-name",s.frameworkName,"The framework name to register with Mesos.")
fs.StringVar(&s.frameworkStoreURI,"framework-store-uri",s.frameworkStoreURI,"Where the framework should store metadata, either in Zookeeper (zk://host:port/path) or in etcd (etcd://path).")
fs.StringVar(&s.frameworkWebURI,"framework-weburi",s.frameworkWebURI,"A URI that points to a web-based interface for interacting with the framework.")
fs.StringVar(&s.frameworkWebURI,"framework-weburi",s.frameworkWebURI,"A URI that points to a web-based interface for interacting with the framework.")
fs.StringVar(&s.advertisedAddress,"advertised-address",s.advertisedAddress,"host:port address that is advertised to clients. May be used to construct artifact download URIs.")
fs.StringVar(&s.advertisedAddress,"advertised-address",s.advertisedAddress,"host:port address that is advertised to clients. May be used to construct artifact download URIs.")
fs.IPVar(&s.serviceAddress,"service-address",s.serviceAddress,"The service portal IP address that the scheduler should register with (if unset, chooses randomly)")
fs.IPVar(&s.serviceAddress,"service-address",s.serviceAddress,"The service portal IP address that the scheduler should register with (if unset, chooses randomly)")