mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-05 15:37:24 +00:00
Increase watchcache sizes for large clusters
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user