- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 71 for PodRunning (0.16 sec)
-
pkg/controller/volume/persistentvolume/recycle_test.go
PersistentVolumeClaim: &v1.PersistentVolumeClaimVolumeSource{ ClaimName: "runningClaim", }, }, }, }, }, Status: v1.PodStatus{ Phase: v1.PodRunning, }, } pendingPod := runningPod.DeepCopy() pendingPod.Name = "pendingPod" pendingPod.Status.Phase = v1.PodPending pendingPod.Spec.Volumes[0].PersistentVolumeClaim.ClaimName = "pendingClaim"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 14 00:37:30 UTC 2023 - 14.2K bytes - Viewed (0) -
istioctl/pkg/describe/describe.go
fmt.Fprintf(writer, " Pod Ports: %s\n", strings.Join(ports, ", ")) } else { fmt.Fprintf(writer, " Pod does not expose ports\n") } if pod.Status.Phase != corev1.PodRunning { fmt.Printf(" Pod is not %s (%s)\n", corev1.PodRunning, pod.Status.Phase) return } for _, containerStatus := range pod.Status.ContainerStatuses { if !containerStatus.Ready {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Apr 13 05:23:38 UTC 2024 - 50.4K 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) -
pkg/kubelet/kubelet_test.go
pods[2].Status.Phase = v1.PodRunning pods[2].DeletionTimestamp = &now pods[2].Status.ContainerStatuses = []v1.ContainerStatus{ {State: v1.ContainerState{ Running: &v1.ContainerStateRunning{ StartedAt: now, }, }}, } // pending and running pods are included pods[3].Status.Phase = v1.PodPending pods[4].Status.Phase = v1.PodRunning
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 14 16:09:17 UTC 2024 - 106.9K bytes - Viewed (0) -
pkg/controller/controller_utils.go
Duration: 100 * time.Millisecond, Jitter: 1.0, } var ( KeyFunc = cache.DeletionHandlingMetaNamespaceKeyFunc podPhaseToOrdinal = map[v1.PodPhase]int{v1.PodPending: 0, v1.PodUnknown: 1, v1.PodRunning: 2} ) type ResyncPeriodFunc func() time.Duration // Returns 0 for resyncPeriod in case resyncing is not needed. func NoResyncPeriodFunc() time.Duration { return 0 }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jan 12 15:34:44 UTC 2024 - 47.6K 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) -
pkg/controller/volume/attachdetach/testing/testvolumespec.go
podNamePrefix := "mypod" namespace := "mynamespace" for i := 0; i < 5; i++ { podName := fmt.Sprintf("%s-%d", podNamePrefix, i) pod := v1.Pod{ Status: v1.PodStatus{ Phase: v1.PodRunning, }, ObjectMeta: metav1.ObjectMeta{ Name: podName, UID: types.UID(podName), Namespace: namespace, Labels: map[string]string{ "name": podName, }, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 17 08:48:30 UTC 2023 - 16.5K bytes - Viewed (0)