From bc4afe5f020d1aa3200392043bd45bd071738369 Mon Sep 17 00:00:00 2001 From: iawia002 Date: Tue, 19 Oct 2021 11:40:48 +0800 Subject: [PATCH] Increase the default QPS and Burst value of the controller manager --- cmd/controller-manager/app/controller-manager.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/controller-manager/app/controller-manager.go b/cmd/controller-manager/app/controller-manager.go index f39ce76158..fdf5fb1d31 100644 --- a/cmd/controller-manager/app/controller-manager.go +++ b/cmd/controller-manager/app/controller-manager.go @@ -100,8 +100,8 @@ member clusters and do the necessary reconciliation`, flags.StringVar(&kubeFedConfig, "kubefed-config", "", "Path to a KubeFedConfig yaml file. Test only.") flags.StringVar(&kubeconfig, "kubeconfig", "", "Path to a kubeconfig. Only required if out-of-cluster.") flags.StringVar(&masterURL, "master", "", "The address of the Kubernetes API server. Overrides any value in kubeconfig. Only required if out-of-cluster.") - flags.Float32Var(&restConfigQPS, "rest-config-qps", 5.0, "Maximum QPS to the api-server from this client.") - flags.IntVar(&restConfigBurst, "rest-config-burst", 10, "Maximum burst for throttle to the api-server from this client.") + flags.Float32Var(&restConfigQPS, "rest-config-qps", 100.0, "Maximum QPS to the api-server from this client.") + flags.IntVar(&restConfigBurst, "rest-config-burst", 200, "Maximum burst for throttle to the api-server from this client.") local := flag.NewFlagSet(os.Args[0], flag.ExitOnError) klog.InitFlags(local)