Increase cache size for RCs

This commit is contained in:
Wojciech Tyczynski
2016-08-29 09:28:44 +02:00
parent 6fcbbe8663
commit 98174737df

View File

@@ -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)