mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 15:05:27 +00:00
Increase registry cache size for services to handle big clusters
This commit is contained in:
parent
ce1e17f338
commit
9c2d3a5677
@ -89,6 +89,7 @@ func InitializeWatchCacheSizes(expectedRAMCapacityMB int) {
|
||||
watchCacheSizes[Endpoints] = maxInt(10*clusterSize, 1000)
|
||||
watchCacheSizes[Nodes] = maxInt(3*clusterSize, 1000)
|
||||
watchCacheSizes[Pods] = maxInt(10*clusterSize, 1000)
|
||||
watchCacheSizes[Services] = maxInt(5*clusterSize, 1000)
|
||||
}
|
||||
|
||||
func SetWatchCacheSizes(cacheSizes []string) {
|
||||
|
Loading…
Reference in New Issue
Block a user