<p>Im using the following code</p>
<pre><code>kubeconfig = resolveKubeconfig(kubeconfig)
    if kubeconfig == &quot;&quot; {
        return nil, fmt.Errorf(&quot;%s: %w&quot;, msgCouldNotCreateClientConfig, ErrLocatingKubeconfig)
    }
    config, err := clientcmd.BuildConfigFromFlags(&quot;&quot;, kubeconfig)
</code></pre>
<p>Now I use unstruct to apply resource to the cluster (5 simple deployments)</p>
<p>And I saw that the apply is taking time like starting throttling,</p>
<p>when I change the config to use like</p>
<pre><code>config.QPS = 250
</code></pre>
<p>it works better, and I dont face any issue.</p>
<p>I understand that its related for the rate limit of k8s api with the api server.</p>
<p>two questions:</p>
<ol>
<li>why it happen if I dont apply too much resource</li>
<li>I increase the value, is it ok or can make some issue ?</li>
</ol>
<p>Should I use also Burst?</p>
<p>I didnt find a lot of docs on the QPS and Burst ...</p>

Jenny M
<p>By default in <code>client-go</code> the Burst is 10 and QPS is 5
so it should not block you if you just applied several request.</p>
<p>To increase the <code>Burst</code> and <code>OPS</code> no effect to your application but may create heavy load on the <code>api-server</code>.</p>
