- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for corev1helpers (0.2 sec)
-
pkg/kubelet/eviction/helpers.go
// the last cmp func is the final decider return ms.cmp[k](p1, p2) < 0 } // priority compares pods by Priority, if priority is enabled. func priority(p1, p2 *v1.Pod) int { priority1 := corev1helpers.PodPriority(p1) priority2 := corev1helpers.PodPriority(p2) if priority1 == priority2 { return 0 } if priority1 > priority2 { return 1 } return -1 }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 01 18:46:33 UTC 2023 - 53.6K bytes - Viewed (0)