- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 71 for PodRunning (0.15 sec)
-
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/controller/podautoscaler/replica_calculator.go
} if len(podList) == 0 { return 0, fmt.Errorf("no pods returned by selector while calculating replica count") } readyPodCount := 0 for _, pod := range podList { if pod.Status.Phase == v1.PodRunning && podutil.IsPodReady(pod) { readyPodCount++ } } return int64(readyPodCount), nil } // GetExternalMetricReplicas calculates the desired replica count based on a
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Aug 19 03:31:34 UTC 2023 - 20.1K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/controller_test.go
// Apiserver doesn't allow Create/Update to modify the pod status. Creating doesn't result in // events - since PodIP will be "". newPod.Status.PodIP = pod.Status.PodIP newPod.Status.Phase = corev1.PodRunning pc.UpdateStatus(newPod) waitForPod(t, controller, pod.Status.PodIP) // pod first time occur will trigger proxy push fx.WaitOrFail(t, "proxy") } } func setPodReady(pod *corev1.Pod) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 85K bytes - Viewed (0) -
pkg/controller/endpoint/endpoints_controller_test.go
}{ { name: "pod running phase", pod: makePod(v1.PodRunning, true, false), service: makeService(false), expectedReady: 1, expectedUnready: 0, }, { name: "pod running phase being deleted", pod: makePod(v1.PodRunning, true, true), service: makeService(false), expectedReady: 0, expectedUnready: 0,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 26 06:51:56 UTC 2024 - 87.7K bytes - Viewed (0) -
pkg/scheduler/schedule_one_test.go
pods: []*v1.Pod{ st.MakePod().Name("pod1a").UID("pod1a").Label("foo", "").Node("node1").Phase(v1.PodRunning).Obj(), st.MakePod().Name("pod1b").UID("pod1b").Label("foo", "").Node("node1").Phase(v1.PodRunning).Obj(), st.MakePod().Name("pod2").UID("pod2").Label("foo", "").Node("node2").Phase(v1.PodRunning).Obj(), }, wantNodes: sets.New("node2", "node3"), wErr: nil, }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:20:55 UTC 2024 - 128.1K bytes - Viewed (0) -
pkg/controller/statefulset/stateful_set_control_test.go
if err != nil { return nil, err } pod := findPodByOrdinal(pods, ordinal) if pod == nil { return nil, fmt.Errorf("setPodRunning: pod ordinal %d not found", ordinal) } pod.Status.Phase = v1.PodRunning fakeResourceVersion(pod) om.podsIndexer.Update(pod) return om.podsLister.Pods(set.Namespace).List(selector) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 07 19:01:47 UTC 2024 - 108.7K 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) -
pkg/kubelet/nodeshutdown/nodeshutdown_manager_linux_test.go
activePods: []*v1.Pod{ { ObjectMeta: metav1.ObjectMeta{Name: "running-pod"}, Spec: v1.PodSpec{}, Status: v1.PodStatus{ Phase: v1.PodRunning, }, }, { ObjectMeta: metav1.ObjectMeta{Name: "failed-pod"}, Spec: v1.PodSpec{}, Status: v1.PodStatus{ Phase: v1.PodFailed, }, }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 29.8K bytes - Viewed (0)