- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 75 for pod17 (0.05 sec)
-
pilot/pkg/leaderelection/leaderelection_test.go
panic("unimplemented") } func TestLeaderElection(t *testing.T) { client := fake.NewSimpleClientset() watcher := &fakeDefaultWatcher{} // First pod becomes the leader _, stop := createElection(t, "pod1", "", watcher, true, client) // A new pod is not the leader _, stop2 := createElection(t, "pod2", "", watcher, false, client) close(stop2) close(stop) } func TestPerRevisionElection(t *testing.T) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Apr 28 04:22:19 UTC 2024 - 11.4K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/tainttoleration/taint_toleration_test.go
pod: podWithTolerations("pod1", []v1.Toleration{{Key: "dedicated", Value: "user1", Effect: "NoSchedule"}}), node: nodeWithTaints("nodeA", []v1.Taint{{Key: "dedicated", Value: "user1", Effect: "NoSchedule"}}), }, { name: "A pod which can't be scheduled on a dedicated node assigned to user2 with effect NoSchedule",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 13:26:09 UTC 2024 - 17.5K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/util_test.go
proxy: &model.Proxy{ ID: "pod1.ns1", Metadata: &model.NodeMetadata{ Namespace: "default", }, }, }, { name: "invalid id: namespace mismatch", proxy: &model.Proxy{ ID: "pod1.ns1", Metadata: &model.NodeMetadata{ Namespace: "ns1", }, }, expectedKey: types.NamespacedName{Namespace: "ns1", Name: "pod1"}, }, }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 21 20:45:12 UTC 2023 - 5K bytes - Viewed (0) -
pkg/kube/kclient/index_test.go
c.Kube().CoreV1().Pods("ns").Create(context.Background(), pod1, metav1.CreateOptions{}) assertIndex(k1, pod1) assertIndex(k2) // Create another pod; we ought to find it as well now. c.Kube().CoreV1().Pods("ns").Create(context.Background(), pod2, metav1.CreateOptions{}) assertIndex(k1, pod1) // Original one must still persist assertIndex(k2, pod2) // New one should be there, eventually
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 04 03:49:30 UTC 2023 - 5.7K bytes - Viewed (0) -
pkg/volume/local/local_linux_test.go
fsGroup1 := int64(s.Gid) fsGroup2 := fsGroup1 + 1 pod1 := &v1.Pod{ObjectMeta: metav1.ObjectMeta{UID: types.UID("poduid")}} pod1.Spec.SecurityContext = &v1.PodSecurityContext{ FSGroup: &fsGroup1, } pod2 := &v1.Pod{ObjectMeta: metav1.ObjectMeta{UID: types.UID("poduid")}} pod2.Spec.SecurityContext = &v1.PodSecurityContext{ FSGroup: &fsGroup2, } err = testFSGroupMount(plug, pod1, tmpDir, fsGroup1) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 24 19:47:49 UTC 2021 - 2K bytes - Viewed (0) -
pkg/controller/daemon/util/daemonset_util_test.go
templateGeneration, newPod("pod1", "node1", labels), hash, true, }, { "templateGeneration matches, hash doesn't", templateGeneration, newPod("pod1", "node1", labels), hash + "123", true, }, { "templateGeneration matches, no hash label, has hash", templateGeneration, newPod("pod1", "node1", labelsNoHash), hash, true, }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 14.5K bytes - Viewed (0) -
pkg/kubelet/volumemanager/cache/desired_state_of_world_test.go
}, true, }, } // Act & Assert for name, v := range testcases { volumeSpec1 := &volume.Spec{Volume: &v.pod1.Spec.Volumes[0]} volumeSpec2 := &volume.Spec{Volume: &v.pod2.Spec.Volumes[0]} generatedVolumeName1, err1 := dsw.AddPodToVolume(util.GetUniquePodName(v.pod1), v.pod1, volumeSpec1, volumeSpec1.Name(), "", nil)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 34K bytes - Viewed (0) -
pkg/dns/server/name_table_test.go
push := model.NewPushContext() push.Mesh = mesh push.AddPublicServices([]*model.Service{headlessService}) push.AddServiceInstances(headlessService, makeServiceInstances(pod1, headlessService, "pod1", "headless-svc")) push.AddServiceInstances(headlessService, makeServiceInstances(pod2, headlessService, "pod2", "headless-svc")) push.AddServiceInstances(headlessService,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jan 25 04:26:03 UTC 2024 - 16K bytes - Viewed (0) -
pkg/kubelet/pod_workers_test.go
Pod: newNamedPod("1", "test1", "pod1", false), UpdateType: kubetypes.SyncPodUpdate, }) drainAllWorkers(podWorkers) // should observe pod terminating pod1 = podWorkers.podSyncStatuses[types.UID("1")] if !pod1.IsTerminationRequested() || !pod1.IsTerminated() { t.Fatalf("unexpected pod state: %#v", pod1) } } func TestStaticPodExclusion(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 75.6K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/controller_test.go
assertEndpointsEvent([]string{"172.0.1.1"}, []string{"pod1"}) assertEndpointsEvent([]string{"172.0.1.1"}, []string{"pod1"}) fx.Clear() // Add the pod, expect the endpoints update for both addPod("pod2", "172.0.1.2") assertEndpointsEvent([]string{"172.0.1.1", "172.0.1.2"}, []string{"pod1", "pod2"}) assertEndpointsEvent([]string{"172.0.1.1", "172.0.1.2"}, []string{"pod1", "pod2"})
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 85K bytes - Viewed (0)