From 98174737df7763a0779101a8bce98159c9644967 Mon Sep 17 00:00:00 2001 From: Wojciech Tyczynski Date: Mon, 29 Aug 2016 09:28:44 +0200 Subject: [PATCH] Increase cache size for RCs --- pkg/registry/cachesize/cachesize.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/registry/cachesize/cachesize.go b/pkg/registry/cachesize/cachesize.go index 2ca9de8702..998bb68d8f 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)