Merge pull request #35680 from wojtek-t/increase_cachesize_for_pods

Automatic merge from submit-queue

Increase watchcache sizes for large clusters
This commit is contained in:
Kubernetes Submit Queue 2016-10-27 02:16:34 -07:00 committed by GitHub
commit 1fd5289e97

View File

@ -87,8 +87,8 @@ func InitializeWatchCacheSizes(expectedRAMCapacityMB int) {
// 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)
watchCacheSizes[Nodes] = maxInt(5*clusterSize, 1000)
watchCacheSizes[Pods] = maxInt(50*clusterSize, 1000)
watchCacheSizes[Services] = maxInt(5*clusterSize, 1000)
}