- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 62 for cpod2 (0.04 sec)
-
pilot/pkg/serviceregistry/kube/controller/pod_test.go
events.WaitOrdered("pod1/add", "pod1/update") createPod("128.0.0.1", "pod2") events.WaitOrdered("pod2/add", "pod2/update") assert.Equal(t, sets.New(c.pods.getPodKeys("128.0.0.1")...), sets.New( types.NamespacedName{Name: "pod1", Namespace: "ns"}, types.NamespacedName{Name: "pod2", Namespace: "ns"}, )) p := c.pods.getPodByKey(types.NamespacedName{Name: "pod1", Namespace: "ns"})
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 16 18:27:40 UTC 2024 - 12.3K bytes - Viewed (0) -
hack/testdata/sorted-pods/sorted-pod2.yaml
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 24 07:02:51 UTC 2024 - 347 bytes - Viewed (0) -
pkg/kube/krt/join_test.go
{pod2.Name, se.Name, pod2.Namespace, pod2.Status.PodIP}, {pod.Name, svc.Name, pod.Namespace, pod.Status.PodIP}, {pod2.Name, svc.Name, pod2.Namespace, pod2.Status.PodIP}, }) } func TestCollectionJoinSync(t *testing.T) { c := kube.NewFakeClient(&corev1.Pod{ ObjectMeta: metav1.ObjectMeta{ Name: "name", Namespace: "namespace", Labels: map[string]string{"app": "foo"}, },
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 09 19:55:53 UTC 2024 - 6.1K bytes - Viewed (0) -
pkg/controller/statefulset/stateful_set_test.go
_, ctx := ktesting.NewTestContext(t) set := newStatefulSet(3) ssc, _, om, _ := newFakeStatefulSetController(ctx, set) pod1 := newStatefulSetPod(set, 1) // pod2 is owned but has wrong name. pod2 := newStatefulSetPod(set, 2) pod2.Name = "x" + pod2.Name // pod3 is owned but has wrong labels. pod3 := newStatefulSetPod(set, 3) pod3.Labels = nil // pod4 is an orphan that doesn't match.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 33.1K bytes - Viewed (0) -
pilot/pkg/leaderelection/leaderelection_test.go
// A new pod is not the leader _, stop2 := createPerRevisionElection(t, "pod2", "foo", watcher, false, client) close(stop2) close(stop) t.Log("drop") // After leader is lost, we can take over _, stop3 := createPerRevisionElection(t, "pod2", "foo", watcher, true, client) // Other revisions are independent
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Apr 28 04:22:19 UTC 2024 - 11.4K bytes - Viewed (0) -
cmd/kubeadm/app/util/marshal_test.go
t.Fatalf("unexpected error marshalling: %v", err) } pod2, ok := obj2.(*corev1.Pod) if !ok { t.Fatal("did not get a Pod") } if pod2.Name != pod.Name { t.Errorf("expected %q, got %q", pod.Name, pod2.Name) } if pod2.Namespace != pod.Namespace { t.Errorf("expected %q, got %q", pod.Namespace, pod2.Namespace) } if !reflect.DeepEqual(pod2.Labels, pod.Labels) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 29 05:14:21 UTC 2024 - 11.6K bytes - Viewed (0) -
pkg/kube/krt/index_test.go
pod2 := &corev1.Pod{ ObjectMeta: metav1.ObjectMeta{ Name: "name2", Namespace: "namespace", }, Status: corev1.PodStatus{PodIP: "1.2.3.5"}, } pc.CreateOrUpdateStatus(pod2) tt.WaitUnordered("add/namespace/name2") assert.Equal(t, fetchSorted("1.2.3.5"), []SimplePod{ {NewNamed(pod), Labeled{}, "1.2.3.5"}, {NewNamed(pod2), Labeled{}, "1.2.3.5"}, })
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 09 19:55:53 UTC 2024 - 4.5K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/ambient/ambientindex_test.go
s.addPods(t, "127.0.0.2", "pod2", "sa1", map[string]string{"app": "a", "other": "label"}, nil, true, corev1.PodRunning) s.addPods(t, "127.0.0.3", "pod3", "sa1", map[string]string{"app": "other"}, nil, true, corev1.PodRunning) s.assertAddresses(t, "", "pod1", "pod2", "pod3") s.assertAddresses(t, s.addrXdsName("127.0.0.1"), "pod1") s.assertAddresses(t, s.addrXdsName("127.0.0.2"), "pod2")
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 08 01:04:50 UTC 2024 - 70.2K bytes - Viewed (0) -
src/syscall/exec_unix_test.go
} cmd2.Start() defer cmd2.Stop() cpid2, cpgrp2 := cmd2.Info() if cpid2 == ppid { t.Fatalf("Parent and child 2 have the same process ID") } if cpgrp2 == ppgrp { t.Fatalf("Parent and child 2 are in the same process group") } if cpid2 == cpgrp2 { t.Fatalf("Child 2's process group is its process ID") } if cpid1 == cpid2 { t.Fatalf("Child 1 and 2 have the same process ID")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 22 04:41:27 UTC 2024 - 7.9K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/ambient/ambientindex_serviceentry_test.go
WorkloadName: "pod1", }, }, }, }}) s.addPods(t, "140.140.0.11", "pod2", "sa1", map[string]string{"app": "other"}, nil, true, corev1.PodRunning) s.assertEvent(t, s.podXdsName("pod2")) s.assertWorkloads(t, "", workloadapi.WorkloadStatus_HEALTHY, "pod1", "pod2") s.addWorkloadEntries(t, "240.240.34.56", "name1", "sa1", map[string]string{"app": "a"}) s.assertEvent(t, s.wleXdsName("name1"))
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Mar 27 03:01:04 UTC 2024 - 12.9K bytes - Viewed (0)