- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for GetPodName (0.1 sec)
-
pkg/controller/statefulset/stateful_set_utils.go
func podInOrdinalRange(pod *v1.Pod, set *apps.StatefulSet) bool { ordinal := getOrdinal(pod) return ordinal >= getStartOrdinal(set) && ordinal <= getEndOrdinal(set) } // getPodName gets the name of set's child Pod with an ordinal index of ordinal func getPodName(set *apps.StatefulSet, ordinal int) string { return fmt.Sprintf("%s-%d", set.Name, ordinal) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 05 19:06:41 UTC 2024 - 26.7K bytes - Viewed (0)