- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for isPodPhaseTerminal (0.2 sec)
-
pkg/kubelet/kubelet_pods.go
terminalPodsToDelete := make(map[types.UID]*v1.Pod) for _, pod := range allPods { if pod.DeletionTimestamp == nil { // skip pods which don't have a deletion timestamp continue } if !podutil.IsPodPhaseTerminal(pod.Status.Phase) { // skip the non-terminal pods continue } if _, knownPod := workingPods[pod.UID]; knownPod { // skip pods known to pod workers continue }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 14 16:09:17 UTC 2024 - 101.2K bytes - Viewed (0) -
pkg/printers/internalversion/printers.go
reason = "NotReady" } } } if pod.DeletionTimestamp != nil && pod.Status.Reason == node.NodeUnreachablePodReason { reason = "Unknown" } else if pod.DeletionTimestamp != nil && !podutil.IsPodPhaseTerminal(apiv1.PodPhase(podPhase)) { reason = "Terminating" } restartsStr := strconv.Itoa(restarts) if restarts != 0 && !lastRestartDate.IsZero() {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 14:04:15 UTC 2024 - 128.3K bytes - Viewed (0)