Merge pull request #15593 from hakman/increase_client-side_throttlling_limits

Increase client-side throttling limits
This commit is contained in:
Kubernetes Prow Robot 2023-07-05 20:13:03 -07:00 committed by GitHub
commit e0543b89b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -152,6 +152,8 @@ func (f *Factory) restConfig() (*rest.Config, error) {
return nil, fmt.Errorf("cannot load kubecfg settings: %w", err)
}
restConfig.UserAgent = "kops"
restConfig.Burst = 50
restConfig.QPS = 20
f.cachedRESTConfig = restConfig
}
return f.cachedRESTConfig, nil