- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for isRunningAndReady (0.33 sec)
-
pkg/controller/statefulset/stateful_set_control_test.go
pods, err := om.podsLister.Pods(set.Namespace).List(selector) if err != nil { return err } sort.Sort(ascendingOrdinal(pods)) for idx := 0; idx < len(pods); idx++ { if idx > 0 && isRunningAndReady(pods[idx]) && !isRunningAndReady(pods[idx-1]) { return fmt.Errorf("successor %s is Running and Ready while %s is not", pods[idx].Name, pods[idx-1].Name) } if ord := idx + getStartOrdinal(set); getOrdinal(pods[idx]) != ord {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 07 19:01:47 UTC 2024 - 108.7K bytes - Viewed (0)