From 9c2d3a56776bd918933e897021ff6acd8e953008 Mon Sep 17 00:00:00 2001 From: gmarek Date: Thu, 1 Sep 2016 13:32:27 +0200 Subject: [PATCH] Increase registry cache size for services to handle big clusters --- 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 998bb68d8f4..52b9f082940 100644 --- a/pkg/registry/cachesize/cachesize.go +++ b/pkg/registry/cachesize/cachesize.go @@ -89,6 +89,7 @@ func InitializeWatchCacheSizes(expectedRAMCapacityMB int) { watchCacheSizes[Endpoints] = maxInt(10*clusterSize, 1000) watchCacheSizes[Nodes] = maxInt(3*clusterSize, 1000) watchCacheSizes[Pods] = maxInt(10*clusterSize, 1000) + watchCacheSizes[Services] = maxInt(5*clusterSize, 1000) } func SetWatchCacheSizes(cacheSizes []string) {