mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-01 15:58:37 +00:00
Remove 20x factor in garbage-collector qps
This commit is contained in:
parent
9d6ea5b4a3
commit
302af9bfe4
@ -350,9 +350,6 @@ func startGarbageCollectorController(ctx ControllerContext) (bool, error) {
|
||||
discoveryClient := cacheddiscovery.NewMemCacheClient(gcClientset.Discovery())
|
||||
|
||||
config := ctx.ClientBuilder.ConfigOrDie("generic-garbage-collector")
|
||||
// bump QPS limits on our dynamic client that we use to GC every deleted object
|
||||
config.QPS *= 20
|
||||
config.Burst *= 20
|
||||
dynamicClient, err := dynamic.NewForConfig(config)
|
||||
if err != nil {
|
||||
return true, err
|
||||
|
Loading…
Reference in New Issue
Block a user