mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
Merge pull request #31599 from wojtek-t/fix_load_test
Automatic merge from submit-queue Increase cache size for RCs Ref #31589 [This should also help with failures of kubemark-scale.]
This commit is contained in:
commit
8675adf138
@ -85,6 +85,7 @@ func InitializeWatchCacheSizes(expectedRAMCapacityMB int) {
|
|||||||
// is supposed to have non-default value.
|
// is supposed to have non-default value.
|
||||||
//
|
//
|
||||||
// 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[Endpoints] = maxInt(10*clusterSize, 1000)
|
watchCacheSizes[Endpoints] = maxInt(10*clusterSize, 1000)
|
||||||
watchCacheSizes[Nodes] = maxInt(3*clusterSize, 1000)
|
watchCacheSizes[Nodes] = maxInt(3*clusterSize, 1000)
|
||||||
watchCacheSizes[Pods] = maxInt(10*clusterSize, 1000)
|
watchCacheSizes[Pods] = maxInt(10*clusterSize, 1000)
|
||||||
|
Loading…
Reference in New Issue
Block a user