- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for normalizedImageName (0.2 sec)
-
pkg/scheduler/framework/plugins/imagelocality/image_locality.go
var sum int64 for _, container := range pod.Spec.InitContainers { if state, ok := nodeInfo.ImageStates[normalizedImageName(container.Image)]; ok { sum += scaledImageScore(state, totalNumNodes) } } for _, container := range pod.Spec.Containers { if state, ok := nodeInfo.ImageStates[normalizedImageName(container.Image)]; ok { sum += scaledImageScore(state, totalNumNodes) } } return sum }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 19 06:17:57 UTC 2024 - 5K bytes - Viewed (0)