@@ -60,6 +60,7 @@ func (s *SchedulerServer) AddFlags(fs *pflag.FlagSet) {
...
@@ -60,6 +60,7 @@ func (s *SchedulerServer) AddFlags(fs *pflag.FlagSet) {
fs.StringVar(&s.AlgorithmProvider,"algorithm-provider",s.AlgorithmProvider,"The scheduling algorithm provider to use, one of: "+factory.ListAlgorithmProviders())
fs.StringVar(&s.AlgorithmProvider,"algorithm-provider",s.AlgorithmProvider,"The scheduling algorithm provider to use, one of: "+factory.ListAlgorithmProviders())
fs.StringVar(&s.PolicyConfigFile,"policy-config-file",s.PolicyConfigFile,"File with scheduler policy configuration")
fs.StringVar(&s.PolicyConfigFile,"policy-config-file",s.PolicyConfigFile,"File with scheduler policy configuration")
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.BoolVar(&s.EnableContentionProfiling,"contention-profiling",false,"Enable lock contention profiling, if profiling is enabled")
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.StringVar(&s.ContentType,"kube-api-content-type",s.ContentType,"Content type of requests sent to apiserver.")
fs.StringVar(&s.ContentType,"kube-api-content-type",s.ContentType,"Content type of requests sent to apiserver.")