We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 33817aa commit 9df1ef3Copy full SHA for 9df1ef3
internal/kube/kube.go
@@ -84,6 +84,11 @@ func NewK8sClientSet(kubeconfigPath string) (*K8SConnection, error) {
84
}
85
86
87
+ // set the QPS and burst for the config to control the rate of requests to the API server
88
+ // defaults are 5 QPS and 10 burst which is too low for large clusters
89
+ config.QPS = 50
90
+ config.Burst = 100
91
+
92
clientset, err := kubernetes.NewForConfig(config)
93
if err != nil {
94
return nil, err
0 commit comments