mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 14:37:00 +00:00
Increase watchcache sizes for large clusters
This commit is contained in:
parent
1b62e4c047
commit
44a6c48e77
@ -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)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user