mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-05 02:09:56 +00:00
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:
commit
1fd5289e97
@ -87,8 +87,8 @@ func InitializeWatchCacheSizes(expectedRAMCapacityMB int) {
|
|||||||
// 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[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(5*clusterSize, 1000)
|
||||||
watchCacheSizes[Pods] = maxInt(10*clusterSize, 1000)
|
watchCacheSizes[Pods] = maxInt(50*clusterSize, 1000)
|
||||||
watchCacheSizes[Services] = maxInt(5*clusterSize, 1000)
|
watchCacheSizes[Services] = maxInt(5*clusterSize, 1000)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user