- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 76 for cpod2 (0.05 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) -
plugin/pkg/auth/authorizer/node/graph_test.go
"pod:ns/pod1": {"node:node1"}, "pod:ns/pod2": {"node:node2"}, "pod:ns/pod3": {"node:node3"}, "configmap:ns/cm1": {"pod:ns/pod1", "pod:ns/pod2", "pod:ns/pod3"}, "configmap:ns/cm2": {"pod:ns/pod1", "pod:ns/pod2", "pod:ns/pod3"}, "configmap:ns/cm3": {"pod:ns/pod1", "pod:ns/pod2", "pod:ns/pod3"}, "serviceAccount:ns/sa1": {"pod:ns/pod1", "pod:ns/pod2", "pod:ns/pod3"}, })
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Sep 23 23:14:19 UTC 2022 - 12.3K 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/kubelet/config/apiserver_test.go
} // Add another pod fakeWatch.Add(pod2) got, ok = <-ch if !ok { t.Errorf("Unable to read from channel when expected") } update = got.(kubetypes.PodUpdate) // Could be sorted either of these two ways: expectedA := CreatePodUpdate(kubetypes.SET, kubetypes.ApiserverSource, pod1v1, pod2) expectedB := CreatePodUpdate(kubetypes.SET, kubetypes.ApiserverSource, pod2, pod1v1)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 22 18:31:03 UTC 2017 - 5.6K bytes - Viewed (0) -
pkg/controller/controller_ref_manager_test.go
controller := v1.ReplicationController{} controller.Namespace = metav1.NamespaceDefault controller.UID = types.UID(controllerUID) pod1 := newPod("pod1", productionLabel, nil) pod2 := newPod("pod2", productionLabel, nil) pod2.Namespace = "fakens" return test{ name: "Controller does not claim pods of different namespace", manager: NewPodControllerRefManager(&FakePodControl{}, &controller,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 10 17:19:26 UTC 2021 - 10.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)