Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for cpod3 (0.1 sec)

  1. pilot/pkg/serviceregistry/kube/controller/pod_test.go

    	// Namespace must be lowercase (nsA doesn't work)
    	pods := []*v1.Pod{
    		generatePod("128.0.0.1", "cpod1", "nsa", "", "", map[string]string{"app": "test-app"}, map[string]string{}),
    		generatePod("128.0.0.2", "cpod2", "nsa", "", "", map[string]string{"app": "prod-app-1"}, map[string]string{}),
    		generatePod("128.0.0.3", "cpod3", "nsb", "", "", map[string]string{"app": "prod-app-2"}, map[string]string{}),
    	}
    
    	addPods(t, c, fx, pods...)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 16 18:27:40 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  2. plugin/pkg/auth/authorizer/node/graph_test.go

    		"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"},
    	})
    	expectIndex(map[string][]string{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 23 23:14:19 UTC 2022
    - 12.3K bytes
    - Viewed (0)
  3. pkg/dns/server/name_table_test.go

    	push.AddServiceInstances(headlessService,
    		makeServiceInstances(pod2, headlessService, "pod2", "headless-svc"))
    	push.AddServiceInstances(headlessService,
    		makeServiceInstances(pod3, headlessService, "pod3", "headless-svc"))
    	push.AddServiceInstances(headlessService,
    		makeServiceInstances(pod4, headlessService, "pod4", "headless-svc"))
    
    	wpush := model.NewPushContext()
    	wpush.Mesh = mesh
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jan 25 04:26:03 UTC 2024
    - 16K bytes
    - Viewed (0)
  4. pkg/controller/statefulset/stateful_set_test.go

    	pod2.OwnerReferences = nil
    	// pod3 has wrong labels.
    	pod3 := newStatefulSetPod(set, 3)
    	pod3.OwnerReferences = nil
    	pod3.Labels = nil
    	// pod4 has wrong name.
    	pod4 := newStatefulSetPod(set, 4)
    	pod4.OwnerReferences = nil
    	pod4.Name = "x" + pod4.Name
    
    	_, ctx := ktesting.NewTestContext(t)
    	ssc, _, om, _ := newFakeStatefulSetController(ctx, set, pod1, pod2, pod3, pod4)
    
    	om.podsIndexer.Add(pod1)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  5. pkg/kubelet/stats/cadvisor_stats_provider_test.go

    		// Pod3 - Namespace0
    		"/pod3-i":       getTestContainerInfo(seedPod3Infra, pName3, namespace0, kubelettypes.PodInfraContainerName),
    		"/pod3-c0-init": getTestContainerInfo(seedPod3Container0, pName3, namespace0, cName30),
    		"/pod3-c1":      getTestContainerInfo(seedPod3Container1, pName3, namespace0, cName31),
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  6. pkg/scheduler/util/utils_test.go

    	pod3 := newPriorityPodWithStartTime("pod3", 2, currentTime)
    
    	tests := map[string]struct {
    		p1       *v1.Pod
    		p2       *v1.Pod
    		expected bool
    	}{
    		"Pod with higher priority": {
    			p1:       pod1,
    			p2:       pod2,
    			expected: false,
    		},
    		"Pod with older created time": {
    			p1:       pod2,
    			p2:       pod3,
    			expected: false,
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Sep 21 01:40:44 UTC 2023
    - 14.5K bytes
    - Viewed (0)
  7. pilot/pkg/leaderelection/leaderelection_test.go

    	_, stop2 := createElection(t, "pod2", "red", watcher, true, client)
    	// Third pod with revision "red" comes in and cannot take the lock since another revision with "red" has it
    	_, stop3 := createElection(t, "pod3", "red", watcher, false, client)
    	// Fourth pod with revision "green" cannot take the lock since a revision with "red" has it.
    	_, stop4 := createElection(t, "pod4", "green", watcher, false, client)
    	close(stop2)
    	close(stop3)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 28 04:22:19 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  8. pkg/kubelet/volumemanager/cache/desired_state_of_world_test.go

    						},
    					},
    				},
    			},
    		},
    	}
    
    	volume2Spec := &volume.Spec{Volume: &pod2.Spec.Volumes[0]}
    	pod2Name := util.GetUniquePodName(pod2)
    
    	pod3 := &v1.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    			Name: "pod3",
    			UID:  "pod3uid",
    		},
    		Spec: v1.PodSpec{
    			Volumes: []v1.Volume{
    				{
    					Name: "volume3-name",
    					VolumeSource: v1.VolumeSource{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 34K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/storage/cacher/watch_cache_test.go

    			t.Errorf("expected %v, got %v", expected, item)
    		}
    	}
    	pod3 := makeTestPod("pod", 3)
    	if err := store.Delete(pod3); err != nil {
    		t.Errorf("unexpected error: %v", err)
    	}
    	if _, ok, _ := store.Get(pod3); ok {
    		t.Errorf("found pod")
    	}
    
    	// Test List.
    	store.Add(makeTestPod("pod1", 4))
    	store.Add(makeTestPod("pod2", 5))
    	store.Add(makeTestPod("pod3", 6))
    	{
    		expected := map[string]storeElement{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 09:20:10 UTC 2024
    - 35.4K bytes
    - Viewed (0)
  10. pkg/scheduler/extender_test.go

    				st.MakePod().Name("pod2").UID("uid2").Obj(),
    				st.MakePod().Name("pod3").UID("uid3").Obj(),
    				st.MakePod().Name("pod4").UID("uid4").Obj(),
    			},
    			nodeInfos: nil,
    			want: map[string]*extenderv1.Victims{
    				"node1": {
    					Pods: []*v1.Pod{
    						st.MakePod().Name("pod1").UID("uid1").Obj(),
    						st.MakePod().Name("pod3").UID("uid3").Obj(),
    					},
    					NumPDBViolations: 1,
    				},
    				"node2": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 19:07:19 UTC 2024
    - 16.7K bytes
    - Viewed (0)
Back to top