@@ -239,7 +243,8 @@ func (s *SchedulerServer) addCoreFlags(fs *pflag.FlagSet) {
...
@@ -239,7 +243,8 @@ func (s *SchedulerServer) addCoreFlags(fs *pflag.FlagSet) {
fs.StringVar(&s.mesosMaster,"mesos-master",s.mesosMaster,"Location of the Mesos master. The format is a comma-delimited list of of hosts like zk://host1:port,host2:port/mesos. If using ZooKeeper, pay particular attention to the leading zk:// and trailing /mesos! If not using ZooKeeper, standard URLs like http://localhost are also acceptable.")
fs.StringVar(&s.mesosMaster,"mesos-master",s.mesosMaster,"Location of the Mesos master. The format is a comma-delimited list of of hosts like zk://host1:port,host2:port/mesos. If using ZooKeeper, pay particular attention to the leading zk:// and trailing /mesos! If not using ZooKeeper, standard URLs like http://localhost are also acceptable.")
fs.StringVar(&s.mesosUser,"mesos-user",s.mesosUser,"Mesos user for this framework, defaults to root.")
fs.StringVar(&s.mesosUser,"mesos-user",s.mesosUser,"Mesos user for this framework, defaults to root.")
fs.StringSliceVar(&s.mesosRoles,"mesos-roles",s.mesosRoles,"Mesos framework roles. The first role will be used to launch pods having no "+meta.RolesKey+" label.")
fs.StringSliceVar(&s.frameworkRoles,"mesos-framework-roles",s.frameworkRoles,"Mesos framework roles that the scheduler receives offers for. Currently only \"*\" and optionally one additional role are supported.")
fs.StringSliceVar(&s.defaultPodRoles,"mesos-default-pod-roles",s.defaultPodRoles,"Roles that will be used to launch pods having no "+meta.RolesKey+" label.")
fs.StringVar(&s.mesosAuthProvider,"mesos-authentication-provider",s.mesosAuthProvider,fmt.Sprintf("Authentication provider to use, default is SASL that supports mechanisms: %+v",mech.ListSupported()))
fs.StringVar(&s.mesosAuthProvider,"mesos-authentication-provider",s.mesosAuthProvider,fmt.Sprintf("Authentication provider to use, default is SASL that supports mechanisms: %+v",mech.ListSupported()))