- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 22 for PodRunning (0.13 sec)
-
pkg/kube/util.go
case corev1.PodSucceeded: return nil case corev1.PodRunning: return CheckPodReady(pod) default: return fmt.Errorf("%s", pod.Status.Phase) } } // CheckPodReady returns nil if the given pod and all of its containers are ready. func CheckPodReady(pod *corev1.Pod) error { switch pod.Status.Phase { case corev1.PodRunning: // Wait until all containers are ready.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 05:10:23 UTC 2024 - 18.6K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/pod.go
func isPodPhaseTerminal(phase v1.PodPhase) bool { return phase == v1.PodFailed || phase == v1.PodSucceeded } func IsPodRunning(pod *v1.Pod) bool { return pod.Status.Phase == v1.PodRunning } // IsPodReady is copied from kubernetes/pkg/api/v1/pod/utils.go func IsPodReady(pod *v1.Pod) bool { return IsPodReadyConditionTrue(pod.Status) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 10.8K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/pod_test.go
} pod2 := metav1.ObjectMeta{Name: "pod2", Namespace: ns} if err := f(nil, &v1.Pod{ObjectMeta: pod2, Status: v1.PodStatus{Conditions: readyCondition, PodIP: ip, Phase: v1.PodRunning}}, model.EventAdd); err != nil { t.Error(err) } if handled != 3 { t.Errorf("notified workload handler %d times, want %d", handled, 3) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 16 18:27:40 UTC 2024 - 12.3K bytes - Viewed (0) -
cmd/kubeadm/app/util/apiclient/wait.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jun 01 07:10:31 UTC 2024 - 13.3K bytes - Viewed (0) -
pkg/controller/statefulset/stateful_set_utils.go
pod.Labels[apps.PodIndexLabel] = strconv.Itoa(ordinal) } } // isRunningAndReady returns true if pod is in the PodRunning Phase, if it has a condition of PodReady. func isRunningAndReady(pod *v1.Pod) bool { return pod.Status.Phase == v1.PodRunning && podutil.IsPodReady(pod) } func isRunningAndAvailable(pod *v1.Pod, minReadySeconds int32) bool {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 05 19:06:41 UTC 2024 - 26.7K bytes - Viewed (0) -
pkg/controller/podgc/gc_controller.go
gcc.gcOrphaned(ctx, pods, nodes) gcc.gcUnscheduledTerminating(ctx, pods) } func isPodTerminated(pod *v1.Pod) bool { if phase := pod.Status.Phase; phase != v1.PodPending && phase != v1.PodRunning && phase != v1.PodUnknown { return true } return false } // isPodTerminating returns true if the pod is terminating. func isPodTerminating(pod *v1.Pod) bool {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 13.3K bytes - Viewed (0) -
pilot/pkg/xds/workload_test.go
ServiceAccountName: sa, NodeName: node, }, Status: corev1.PodStatus{ PodIP: ip, PodIPs: []corev1.PodIP{ { IP: ip, }, }, Phase: corev1.PodRunning, Conditions: []corev1.PodCondition{ { Type: corev1.PodReady, Status: corev1.ConditionTrue, LastTransitionTime: metav1.Now(), }, }, }, }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Apr 18 19:09:43 UTC 2024 - 15.9K bytes - Viewed (0) -
pkg/apis/core/fuzzer/fuzzer.go
} }, func(s *core.PodStatus, c fuzz.Continue) { c.Fuzz(&s) s.HostIPs = []core.HostIP{{IP: s.HostIP}} }, func(j *core.PodPhase, c fuzz.Continue) { statuses := []core.PodPhase{core.PodPending, core.PodRunning, core.PodFailed, core.PodUnknown} *j = statuses[c.Rand.Intn(len(statuses))] }, func(j *core.Binding, c fuzz.Continue) { c.Fuzz(&j.ObjectMeta) j.Target.Name = c.RandString() },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 26 04:32:01 UTC 2024 - 18.5K bytes - Viewed (0) -
pkg/registry/core/pod/storage/storage_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 29 07:18:44 UTC 2024 - 38.8K bytes - Viewed (0) -
pkg/kubelet/status/status_manager.go
if !kubetypes.IsStaticPod(pod) { switch status.Phase { case v1.PodSucceeded, v1.PodFailed: // do nothing, already terminal case v1.PodPending, v1.PodRunning: if status.Phase == v1.PodRunning && isCached { klog.InfoS("Terminal running pod should have already been marked as failed, programmer error", "pod", klog.KObj(pod), "podUID", pod.UID) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 02 16:27:19 UTC 2024 - 44.3K bytes - Viewed (0)