@@ -67,6 +69,10 @@ func (s *SchedulerServer) AddFlags(fs *pflag.FlagSet) {
...
@@ -67,6 +69,10 @@ func (s *SchedulerServer) AddFlags(fs *pflag.FlagSet) {
fs.BoolVar(&s.EnableProfiling,"profiling",true,"Enable profiling via web interface host:port/debug/pprof/")
fs.BoolVar(&s.EnableProfiling,"profiling",true,"Enable profiling via web interface host:port/debug/pprof/")
fs.StringVar(&s.Master,"master",s.Master,"The address of the Kubernetes API server (overrides any value in kubeconfig)")
fs.StringVar(&s.Master,"master",s.Master,"The address of the Kubernetes API server (overrides any value in kubeconfig)")
fs.StringVar(&s.Kubeconfig,"kubeconfig",s.Kubeconfig,"Path to kubeconfig file with authorization and master location information.")
fs.StringVar(&s.Kubeconfig,"kubeconfig",s.Kubeconfig,"Path to kubeconfig file with authorization and master location information.")
fs.Float32Var(&s.BindPodsQPS,"bind-pods-qps",s.BindPodsQPS,"Number of bindings per second scheduler is allowed to continuously make")
fs.MarkDeprecated("bind-pods-qps","flag is unused and will be removed. Use kube-api-qps instead.")
fs.IntVar(&s.BindPodsBurst,"bind-pods-burst",s.BindPodsBurst,"Number of bindings per second scheduler is allowed to make during bursts")
fs.MarkDeprecated("bind-pods-burst","flag is unused and will be removed. Use kube-api-burst instead.")
fs.Float32Var(&s.KubeAPIQPS,"kube-api-qps",s.KubeAPIQPS,"QPS to use while talking with kubernetes apiserver")
fs.Float32Var(&s.KubeAPIQPS,"kube-api-qps",s.KubeAPIQPS,"QPS to use while talking with kubernetes apiserver")
fs.IntVar(&s.KubeAPIBurst,"kube-api-burst",s.KubeAPIBurst,"Burst to use while talking with kubernetes apiserver")
fs.IntVar(&s.KubeAPIBurst,"kube-api-burst",s.KubeAPIBurst,"Burst to use while talking with kubernetes apiserver")
fs.StringVar(&s.SchedulerName,"scheduler-name",s.SchedulerName,"Name of the scheduler, used to select which pods will be processed by this scheduler, based on pod's annotation with key 'scheduler.alpha.kubernetes.io/name'")
fs.StringVar(&s.SchedulerName,"scheduler-name",s.SchedulerName,"Name of the scheduler, used to select which pods will be processed by this scheduler, based on pod's annotation with key 'scheduler.alpha.kubernetes.io/name'")