diff --git a/pkg/registry/cachesize/cachesize.go b/pkg/registry/cachesize/cachesize.go index 2ca9de87022..998bb68d8f4 100644 --- a/pkg/registry/cachesize/cachesize.go +++ b/pkg/registry/cachesize/cachesize.go @@ -85,6 +85,7 @@ func InitializeWatchCacheSizes(expectedRAMCapacityMB int) { // is supposed to have non-default value. // // TODO: Figure out which resource we should have non-default value. + watchCacheSizes[Controllers] = maxInt(5*clusterSize, 100) watchCacheSizes[Endpoints] = maxInt(10*clusterSize, 1000) watchCacheSizes[Nodes] = maxInt(3*clusterSize, 1000) watchCacheSizes[Pods] = maxInt(10*clusterSize, 1000)