Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 194 for node_ (0.04 sec)

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

    				st.MakePod().Node("node2").Req(map[v1.ResourceName]string{"cpu": "3000", "memory": "0"}).Obj(),
    				st.MakePod().Node("node2").Req(map[v1.ResourceName]string{"cpu": "3000", "memory": "5000"}).Obj(),
    			},
    			expectedScores: []framework.NodeScore{{Name: "node1", Score: 30}, {Name: "node2", Score: 42}},
    			resources:      defaultResources,
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 03:30:06 UTC 2023
    - 16K bytes
    - Viewed (0)
  2. pkg/controller/controller_utils_test.go

    			nodeHandler: &testutil.FakeNodeHandler{
    				Existing: []*v1.Node{
    					{
    						ObjectMeta: metav1.ObjectMeta{
    							Name: "node1",
    						},
    					},
    				},
    				Clientset: fake.NewSimpleClientset(&v1.PodList{Items: []v1.Pod{*testutil.NewPod("pod0", "node0")}}),
    			},
    			nodeName: "node1",
    			taintsToRemove: []*v1.Taint{
    				{Key: "key3", Value: "value3", Effect: "NoSchedule"},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/phases/upgrade/compute_test.go

    	}
    
    	if f.componentVersion == "multiVersion" {
    		return map[string][]string{
    			"node1": {"node1"},
    			"node2": {"node2"},
    		}, nil
    	}
    
    	return map[string][]string{
    		f.componentVersion: {"node1"},
    	}, nil
    }
    
    const fakeCurrentEtcdVersion = "3.1.12"
    
    func getEtcdVersion(v *versionutil.Version) string {
    	etcdVer, _, _ := constants.EtcdSupportedVersion(constants.SupportedEtcdVersion, v.String())
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 08:39:51 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  4. pkg/scheduler/extender_test.go

    					Prioritizers: []tf.PriorityConfig{{Function: tf.Node1PrioritizerExtender, Weight: 10}},
    					Weight:       1,
    				},
    			},
    			nodes: []string{"node1", "node2"},
    			expectedResult: ScheduleResult{
    				SuggestedHost:  "node2",
    				EvaluatedNodes: 2,
    				FeasibleNodes:  2,
    			}, // node2 has higher score
    			name: "test 7",
    		},
    		{
    			// Scheduler is expected to not send pod to extender in
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 19:07:19 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  5. pkg/scheduler/framework/plugins/noderesources/requested_to_capacity_ratio_test.go

    				st.MakeNode().Name("node1").Capacity(map[v1.ResourceName]string{"cpu": "4000", "memory": "10000"}).Obj(),
    				st.MakeNode().Name("node2").Capacity(map[v1.ResourceName]string{"cpu": "4000", "memory": "10000"}).Obj(),
    			},
    			existingPods: []*v1.Pod{
    				st.MakePod().Node("node1").Obj(),
    				st.MakePod().Node("node1").Obj(),
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 03:30:06 UTC 2023
    - 21.2K bytes
    - Viewed (0)
  6. pkg/scheduler/framework/plugins/tainttoleration/taint_toleration_test.go

    				{Name: "nodeA", Score: framework.MaxNodeScore},
    				{Name: "nodeB", Score: framework.MaxNodeScore},
    				{Name: "nodeC", Score: 0},
    			},
    		},
    		{
    			name: "Default behaviour No taints and tolerations, lands on node with no taints",
    			//pod without tolerations
    			pod: podWithTolerations("pod1", []v1.Toleration{}),
    			nodes: []*v1.Node{
    				//Node without taints
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/cmd/upgrade/plan_test.go

    COMPONENT   NODE      CURRENT   TARGET
    kubelet     node1     v1.19.2   v1.19.3
    kubelet     node2     v1.19.3   v1.19.3
    kubelet     node3     v1.19.3   v1.19.3
    
    Upgrade to the latest version in the v1.19 series:
    
    COMPONENT                 NODE      CURRENT   TARGET
    kube-apiserver            node1     v1.19.2   v1.19.3
    kube-controller-manager   node1     v1.19.2   v1.19.3
    kube-scheduler            node1     v1.19.2   v1.19.3
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Mar 03 03:03:29 UTC 2024
    - 27.3K bytes
    - Viewed (0)
  8. pkg/kubelet/cm/cpumanager/policy_test.go

    		Core(s) per socket:  64
    		Socket(s):           2
    		NUMA node(s):        8 (NPS=4)
    		NUMA node0 CPU(s):   0-15,128-143
    		NUMA node1 CPU(s):   16-31,144-159
    		NUMA node2 CPU(s):   32-47,160-175
    		NUMA node3 CPU(s):   48-63,176-191
    		NUMA node4 CPU(s):   64-79,192-207
    		NUMA node5 CPU(s):   80-95,208-223
    		NUMA node6 CPU(s):   96-111,224-239
    		NUMA node7 CPU(s):   112-127,240-255
    	*/
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 24 20:49:58 UTC 2021
    - 40.6K bytes
    - Viewed (0)
  9. plugin/pkg/auth/authorizer/node/graph_test.go

    	}
    	expectGraph := func(expect map[string][]string) {
    		t.Helper()
    		actual := map[string][]string{}
    		for _, node := range g.graph.Nodes() {
    			sortedTo := []string{}
    			for _, to := range g.graph.From(node) {
    				sortedTo = append(sortedTo, toString(to.ID()))
    			}
    			sort.Strings(sortedTo)
    			actual[toString(node.ID())] = sortedTo
    		}
    		if !reflect.DeepEqual(expect, actual) {
    			e, _ := json.MarshalIndent(expect, "", "  ")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 23 23:14:19 UTC 2022
    - 12.3K bytes
    - Viewed (0)
  10. pkg/scheduler/framework/types_test.go

    					"node1": NewStatus(Unschedulable, "Node(s) failed Filter plugin FalseFilter-1"),
    					"node2": NewStatus(Unschedulable, "Node(s) failed Filter plugin FalseFilter-1"),
    					"node3": NewStatus(Unschedulable, "Node(s) failed Filter plugin FalseFilter-1"),
    				},
    				PostFilterMsg: "Error running PostFilter plugin FailedPostFilter",
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 45.9K bytes
    - Viewed (0)
Back to top