Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for makeOld (0.11 sec)

  1. pkg/scheduler/framework/plugins/podtopologyspread/scoring_test.go

    				st.MakePod().Name("p-a4").Node("node-a").Label("foo", "").Obj(),
    				st.MakePod().Name("p-b1").Node("node-b").Label("foo", "").Obj(),
    				st.MakePod().Name("p-b2").Node("node-b").Label("foo", "").Obj(),
    				st.MakePod().Name("p-b3").Node("node-b").Label("foo", "").Obj(),
    				st.MakePod().Name("p-c1").Node("node-c").Label("foo", "").Obj(),
    				st.MakePod().Name("p-c2").Node("node-c").Label("foo", "").Obj(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 03:30:06 UTC 2023
    - 60K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/plugins/defaultpreemption/default_preemption_test.go

    			pod:  st.MakePod().Name("p").UID("p").Namespace(v1.NamespaceDefault).Priority(highPriority).Req(largeRes).Obj(),
    			pods: []*v1.Pod{
    				st.MakePod().Name("p1").UID("p1").Namespace(v1.NamespaceDefault).Node("node1").Priority(highPriority).Obj(),
    				st.MakePod().Name("p2").UID("p2").Namespace(v1.NamespaceDefault).Node("node2").Obj(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 15:52:16 UTC 2024
    - 82.8K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/plugins/interpodaffinity/filtering_test.go

    		},
    		{
    			pod: st.MakePod().Namespace("NS1").Labels(map[string]string{"foo": "123"}).PodAntiAffinityIn("foo", "region", []string{"bar"}, st.PodAntiAffinityWithRequiredReq).Obj(),
    			pods: []*v1.Pod{
    				st.MakePod().Node("nodeA").Namespace("NS1").Labels(map[string]string{"foo": "bar"}).Obj(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 01 10:24:54 UTC 2023
    - 58.2K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/storage/testing/watcher_tests.go

    			initialPods:                          []*example.Pod{makePod("1"), makePod("2"), makePod("3")},
    			expectedInitialEvents:                addEventsFromCreatedPods,
    			expectedInitialEventsBookmark:        initialEventsEndFromLastCreatedPod,
    			podsAfterEstablishingWatch:           []*example.Pod{makePod("4"), makePod("5")},
    			expectedEventsAfterEstablishingWatch: addEventsFromCreatedPods,
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 63.8K bytes
    - Viewed (0)
  5. pkg/scheduler/framework/plugins/noderesources/fit_test.go

    		"skip-queue-on-disable-inplace-pod-vertical-scaling": {
    			pod:                             st.MakePod().Name("pod1").Req(map[v1.ResourceName]string{v1.ResourceCPU: "1"}).Obj(),
    			oldObj:                          st.MakePod().Name("pod2").Req(map[v1.ResourceName]string{v1.ResourceCPU: "2"}).Node("fake").Obj(),
    			newObj:                          st.MakePod().Name("pod2").Req(map[v1.ResourceName]string{v1.ResourceCPU: "1"}).Node("fake").Obj(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 57.4K bytes
    - Viewed (0)
  6. pilot/pkg/serviceregistry/serviceregistry_test.go

    		_, kube, xdsUpdater := setupTest(t)
    		makeService(t, kube, service)
    		xdsUpdater.WaitOrFail(t, "service")
    		makePod(t, kube, pod)
    		xdsUpdater.WaitOrFail(t, "proxy")
    		newPod := pod.DeepCopy()
    		newPod.Labels["newlabel"] = "new"
    		makePod(t, kube, newPod)
    		xdsUpdater.WaitOrFail(t, "proxy")
    	})
    
    	t.Run("Kubernetes only: headless pure HTTP service", func(t *testing.T) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 51.2K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher_whitebox_test.go

    		watchers = append(watchers, w)
    	}
    
    	makePod := func(name, rv string) *examplev1.Pod {
    		return &examplev1.Pod{
    			ObjectMeta: metav1.ObjectMeta{
    				Name:            name,
    				Namespace:       "ns",
    				ResourceVersion: rv,
    			},
    		}
    	}
    	pod1 := makePod("pod", "1001")
    	pod2 := makePod("pod", "1002")
    	pod3 := makePod("pod", "1003")
    
    	cacher.watchCache.Add(pod1)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 82.9K bytes
    - Viewed (0)
  8. pkg/scheduler/framework/plugins/volumebinding/binder_test.go

    		// If nil, use pod PVCs
    		cachePVCs []*v1.PersistentVolumeClaim
    		// If nil, makePod with podPVCs
    		pod *v1.Pod
    
    		// Expected podBindingCache fields
    		expectedBindings []*BindingInfo
    
    		// Expected return values
    		reasons    ConflictReasons
    		shouldFail bool
    	}
    	scenarios := map[string]scenarioType{
    		"no-volumes": {
    			pod: makePod("test-pod").
    				withNamespace("testns").
    				withNodeName("node1").Pod,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 09:46:58 UTC 2024
    - 82.8K bytes
    - Viewed (0)
  9. pkg/controller/endpoint/endpoints_controller_test.go

    		expectedUnready int
    	}{
    		{
    			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,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 06:51:56 UTC 2024
    - 87.7K bytes
    - Viewed (0)
  10. src/net/http/client_test.go

    	}{
    		{
    			desc: "Strip password from error message",
    			in:   "http://user:password@dummy.faketld/",
    			out:  `Get "http://user:***@dummy.faketld/": dummy impl`,
    		},
    		{
    			desc: "Don't Strip password from domain name",
    			in:   "http://user:password@password.faketld/",
    			out:  `Get "http://user:***@password.faketld/": dummy impl`,
    		},
    		{
    			desc: "Don't Strip password from path",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:30:50 UTC 2024
    - 63.8K bytes
    - Viewed (0)
Back to top