- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for calculatePriority (0.11 sec)
-
pkg/scheduler/framework/plugins/imagelocality/image_locality.go
return &ImageLocality{handle: h}, nil } // calculatePriority returns the priority of a node. Given the sumScores of requested images on the node, the node's // priority is obtained by scaling the maximum priority value with a ratio proportional to the sumScores. func calculatePriority(sumScores int64, numContainers int) int64 { maxThreshold := maxContainerThreshold * int64(numContainers)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 19 06:17:57 UTC 2024 - 5K bytes - Viewed (0)