mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-31 15:25:57 +00:00
Merge pull request #85219 from mm4tt/lease_cache_size
Increase cache size for leases
This commit is contained in:
commit
e9ce31bcb3
@ -41,6 +41,7 @@ func NewHeuristicWatchCacheSizes(expectedRAMCapacityMB int) map[schema.GroupReso
|
||||
watchCacheSizes[schema.GroupResource{Resource: "services"}] = maxInt(5*clusterSize, 1000)
|
||||
watchCacheSizes[schema.GroupResource{Resource: "events"}] = 0
|
||||
watchCacheSizes[schema.GroupResource{Resource: "apiservices", Group: "apiregistration.k8s.io"}] = maxInt(5*clusterSize, 1000)
|
||||
watchCacheSizes[schema.GroupResource{Resource: "leases", Group: "coordination.k8s.io"}] = maxInt(5*clusterSize, 1000)
|
||||
return watchCacheSizes
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user