Skip to content
This repository was archived by the owner on Apr 25, 2023. It is now read-only.

Commit 6b78e82

Browse files
authored
Merge pull request #1461 from iawia002/update-rest-config-default-value
Increase the default QPS and Burst value of the controller manager
2 parents 2fc7e36 + bc4afe5 commit 6b78e82

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmd/controller-manager/app/controller-manager.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,8 @@ member clusters and do the necessary reconciliation`,
100100
flags.StringVar(&kubeFedConfig, "kubefed-config", "", "Path to a KubeFedConfig yaml file. Test only.")
101101
flags.StringVar(&kubeconfig, "kubeconfig", "", "Path to a kubeconfig. Only required if out-of-cluster.")
102102
flags.StringVar(&masterURL, "master", "", "The address of the Kubernetes API server. Overrides any value in kubeconfig. Only required if out-of-cluster.")
103-
flags.Float32Var(&restConfigQPS, "rest-config-qps", 5.0, "Maximum QPS to the api-server from this client.")
104-
flags.IntVar(&restConfigBurst, "rest-config-burst", 10, "Maximum burst for throttle to the api-server from this client.")
103+
flags.Float32Var(&restConfigQPS, "rest-config-qps", 100.0, "Maximum QPS to the api-server from this client.")
104+
flags.IntVar(&restConfigBurst, "rest-config-burst", 200, "Maximum burst for throttle to the api-server from this client.")
105105

106106
local := flag.NewFlagSet(os.Args[0], flag.ExitOnError)
107107
klog.InitFlags(local)

0 commit comments

Comments
 (0)