mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-08 12:41:58 +00:00
Increase cache size for RCs
This commit is contained in:
@@ -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)
|
||||||
|
Reference in New Issue
Block a user