mirror of https://github.com/kubernetes/kops.git
Merge pull request #15593 from hakman/increase_client-side_throttlling_limits
Increase client-side throttling limits
This commit is contained in:
commit
e0543b89b2
|
@ -152,6 +152,8 @@ func (f *Factory) restConfig() (*rest.Config, error) {
|
||||||
return nil, fmt.Errorf("cannot load kubecfg settings: %w", err)
|
return nil, fmt.Errorf("cannot load kubecfg settings: %w", err)
|
||||||
}
|
}
|
||||||
restConfig.UserAgent = "kops"
|
restConfig.UserAgent = "kops"
|
||||||
|
restConfig.Burst = 50
|
||||||
|
restConfig.QPS = 20
|
||||||
f.cachedRESTConfig = restConfig
|
f.cachedRESTConfig = restConfig
|
||||||
}
|
}
|
||||||
return f.cachedRESTConfig, nil
|
return f.cachedRESTConfig, nil
|
||||||
|
|
Loading…
Reference in New Issue