From 088de9b57283098123166c0b0d447bce6eb907fc Mon Sep 17 00:00:00 2001 From: Wojciech Tyczynski Date: Wed, 7 Oct 2015 11:20:14 +0200 Subject: [PATCH] Increase scheduler QPS limits --- plugin/cmd/kube-scheduler/app/server.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plugin/cmd/kube-scheduler/app/server.go b/plugin/cmd/kube-scheduler/app/server.go index 4670def0350..3491f316ec3 100644 --- a/plugin/cmd/kube-scheduler/app/server.go +++ b/plugin/cmd/kube-scheduler/app/server.go @@ -77,8 +77,8 @@ func (s *SchedulerServer) AddFlags(fs *pflag.FlagSet) { 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.Kubeconfig, "kubeconfig", s.Kubeconfig, "Path to kubeconfig file with authorization and master location information.") - fs.Float32Var(&s.BindPodsQPS, "bind-pods-qps", 15.0, "Number of bindings per second scheduler is allowed to continuously make") - fs.IntVar(&s.BindPodsBurst, "bind-pods-burst", 20, "Number of bindings per second scheduler is allowed to make during bursts") + fs.Float32Var(&s.BindPodsQPS, "bind-pods-qps", 50.0, "Number of bindings per second scheduler is allowed to continuously make") + fs.IntVar(&s.BindPodsBurst, "bind-pods-burst", 100, "Number of bindings per second scheduler is allowed to make during bursts") } // Run runs the specified SchedulerServer. This should never exit. @@ -95,8 +95,8 @@ func (s *SchedulerServer) Run(_ []string) error { if err != nil { return err } - kubeconfig.QPS = 20.0 - kubeconfig.Burst = 30 + kubeconfig.QPS = 50.0 + kubeconfig.Burst = 100 kubeClient, err := client.New(kubeconfig) if err != nil {