mirror of https://github.com/kubernetes/kops.git
Increase client-side throttling limits
This commit is contained in:
parent
e363128184
commit
ba442011d7
|
@ -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