Increase registry cache size for services to handle big clusters

This commit is contained in:
gmarek 2016-09-01 13:32:27 +02:00
parent ce1e17f338
commit 9c2d3a5677

View File

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