- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for relatedPods (0.11 sec)
-
pkg/controller/replicaset/replica_set.go
continue } seen[pod.UID] = relatedRS relatedPods = append(relatedPods, pod) } } logger.V(4).Info("Found related pods", "kind", rsc.Kind, "replicaSet", klog.KObj(rs), "pods", klog.KObjSlice(relatedPods)) return relatedPods, nil } func getPodsToDelete(filteredPods, relatedPods []*v1.Pod, diff int) []*v1.Pod { // No need to sort pods if we are about to delete all of them.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 33.2K bytes - Viewed (0) -
pkg/controller/replicaset/replica_set_test.go
scheduledRunningReadyPodOnNode2, scheduledRunningNotReadyPod, scheduledPendingPod, unscheduledPendingPod, }, }, { name: "various pod phases and conditions, diff = len(pods), relatedPods empty", pods: []*v1.Pod{ scheduledRunningReadyPodOnNode1, scheduledRunningReadyPodOnNode1, scheduledRunningReadyPodOnNode2, scheduledRunningNotReadyPod, scheduledPendingPod,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 69.2K bytes - Viewed (0)