Commit 98174737 authored by Wojciech Tyczynski's avatar Wojciech Tyczynski

Increase cache size for RCs

parent 6fcbbe86
...@@ -85,6 +85,7 @@ func InitializeWatchCacheSizes(expectedRAMCapacityMB int) { ...@@ -85,6 +85,7 @@ func InitializeWatchCacheSizes(expectedRAMCapacityMB int) {
// is supposed to have non-default value. // is supposed to have non-default value.
// //
// TODO: Figure out which resource we should 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[Endpoints] = maxInt(10*clusterSize, 1000)
watchCacheSizes[Nodes] = maxInt(3*clusterSize, 1000) watchCacheSizes[Nodes] = maxInt(3*clusterSize, 1000)
watchCacheSizes[Pods] = maxInt(10*clusterSize, 1000) watchCacheSizes[Pods] = maxInt(10*clusterSize, 1000)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment