mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-14 13:45:06 +00:00
Increase registry cache size for services to handle big clusters
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user