Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for MakeNode (0.11 sec)

  1. pkg/scheduler/framework/plugins/noderesources/fit_test.go

    			requestedPod: st.MakePod().
    				Req(map[v1.ResourceName]string{"cpu": "3000", "memory": "5000"}).
    				Obj(),
    			nodes: []*v1.Node{
    				st.MakeNode().Name("node1").Capacity(map[v1.ResourceName]string{"cpu": "4000", "memory": "10000"}).Obj(),
    				st.MakeNode().Name("node2").Capacity(map[v1.ResourceName]string{"cpu": "6000", "memory": "10000"}).Obj(),
    			},
    			existingPods: []*v1.Pod{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 57.4K bytes
    - Viewed (0)
  2. pkg/scheduler/internal/queue/scheduling_queue_test.go

    				PodInfo:              mustNewPodInfo(st.MakePod().Name("pod1").Namespace("ns1").UID("1").Obj()),
    			},
    			event:                  NodeAdd,
    			oldObj:                 nil,
    			newObj:                 st.MakeNode().Obj(),
    			expected:               queueSkip,
    			expectedExecutionCount: 0,
    			queueingHintMap: QueueingHintMapPerProfile{
    				"": {
    					// no queueing hint function for NodeAdd.
    					AssignedPodAdd: {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 146.9K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/storage/testing/store_tests.go

    			prefix: "/pods",
    			pred: storage.SelectionPredicate{
    				Field: fields.OneTermEqualSelector("spec.nodeName", "fakeNode"),
    				Label: labels.Everything(),
    				Limit: 5,
    			},
    			rv:          list.ResourceVersion,
    			rvMatch:     metav1.ResourceVersionMatchNotOlderThan,
    			expectedOut: []example.Pod{*preset[0]},
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 12:45:33 UTC 2024
    - 91.4K bytes
    - Viewed (0)
Back to top