Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 62 for NodeV1 (0.26 sec)

  1. pkg/controller/tainteviction/taint_eviction_test.go

    			pods: []corev1.Pod{
    				*testutil.NewPod("pod1", "node1"),
    				*addToleration(testutil.NewPod("pod2", "node1"), 1, 1),
    				*addToleration(testutil.NewPod("pod3", "node1"), 1, -1),
    			},
    			oldNode: testutil.NewNode("node1"),
    			newNode: addTaintsToNode(testutil.NewNode("node1"), "testTaint1", "taint1", []int{1}),
    			expectedDeleteTimes: durationSlice{
    				{[]string{"pod1"}, 0},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 31.3K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/plugins/interpodaffinity/scoring_test.go

    			expectedList: []framework.NodeScore{{Name: "node1", Score: framework.MaxNodeScore}, {Name: "node2", Score: 0}, {Name: "node3", Score: 0}},
    		},
    		// the node1(node1) that have the label {"region": "China"} (match the topology key) and that have existing pods that match the labelSelector get high score
    		// the node2(node2) that have the label {"region": "China"}, match the topology key and have the same label value with node1, get the same high score with node1
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 03:30:06 UTC 2023
    - 44.8K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/plugins/noderesources/most_allocated_test.go

    			nodes: []*v1.Node{
    				st.MakeNode().Name("node1").Capacity(map[v1.ResourceName]string{"cpu": "10000", "memory": "20000"}).Obj(),
    				st.MakeNode().Name("node2").Capacity(map[v1.ResourceName]string{"cpu": "10000", "memory": "20000"}).Obj(),
    			},
    			existingPods: []*v1.Pod{
    				st.MakePod().Node("node1").Req(map[v1.ResourceName]string{"cpu": "3000", "memory": "0"}).Obj(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 03:30:06 UTC 2023
    - 16K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/util/proxy/transport_test.go

    		PathPrepend: "/proxy/node/node1:10250",
    	}
    	testTransport2 := &Transport{
    		Scheme:      "https",
    		Host:        "foo.com",
    		PathPrepend: "/proxy/node/node1:8080",
    	}
    	emptyHostTransport := &Transport{
    		Scheme:      "https",
    		PathPrepend: "/proxy/node/node1:10250",
    	}
    	emptySchemeTransport := &Transport{
    		Host:        "foo.com",
    		PathPrepend: "/proxy/node/node1:10250",
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 10 07:29:34 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  5. plugin/pkg/auth/authorizer/node/node_authorizer_test.go

    	}{
    		{User: node1, Decision: authorizer.DecisionAllow, Secret: "node1-only"},
    		{User: node1, Decision: authorizer.DecisionAllow, Secret: "node1-node2-only"},
    		{User: node1, Decision: authorizer.DecisionAllow, Secret: "shared-all"},
    
    		{User: node2, Decision: authorizer.DecisionNoOpinion, Secret: "node1-only"},
    		{User: node2, Decision: authorizer.DecisionAllow, Secret: "node1-node2-only"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:55 UTC 2024
    - 40.5K bytes
    - Viewed (0)
  6. tests/test_response_model_as_return_annotation.py

                                    "application/json": {
                                        "schema": {
                                            "title": "Response Response Model Union No Annotation Return Model1 Response Model Union No Annotation Return Model1 Get",
                                            "anyOf": [
                                                {"$ref": "#/components/schemas/User"},
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon Aug 14 09:49:57 UTC 2023
    - 47.7K bytes
    - Viewed (0)
  7. plugin/pkg/auth/authorizer/node/graph_test.go

    			toNamespace: "",
    			toName:      "node1",
    			start: func() *Graph {
    				g := NewGraph()
    				g.getOrCreateVertex_locked(nodeVertexType, "", "node1")
    				g.getOrCreateVertex_locked(configMapVertexType, "namespace1", "configmap1")
    				return g
    			}(),
    			expect: func() *Graph {
    				g := NewGraph()
    				g.getOrCreateVertex_locked(nodeVertexType, "", "node1")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 23 23:14:19 UTC 2022
    - 12.3K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/registry/RuleBindingsTest.groovy

        def "can replace by-path subject when not bound"() {
            def node1 = node("a")
            def node2 = node("a")
            def rule = rule("a", ModelNode.State.Finalized)
    
            given:
            addNode(node1)
            removeNode(node1)
            bindings.add(rule)
    
            when:
            addNode(node2)
    
            then:
            bindings.getRulesWithSubject(nodeAtState("a", ModelNode.State.Finalized)) as List == [rule]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 26.8K bytes
    - Viewed (0)
  9. pkg/scheduler/extender_test.go

    				},
    				{
    					ExtenderName: "FakeExtender2",
    					Predicates:   []tf.FitPredicate{tf.Node1PredicateExtender},
    				},
    			},
    			nodes: []string{"node1", "node2"},
    			expectedResult: ScheduleResult{
    				SuggestedHost:  "node1",
    				EvaluatedNodes: 2,
    				FeasibleNodes:  1,
    			},
    			name: "test 3",
    		},
    		{
    			registerPlugins: []tf.RegisterPluginFunc{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 19:07:19 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  10. pkg/scheduler/framework/preemption/preemption_test.go

    	// Prepare 4 nodes names.
    	nodeNames := []string{"node1", "node2", "node3", "node4"}
    	tests := []struct {
    		name          string
    		nodesStatuses framework.NodeToStatusMap
    		expected      sets.Set[string] // set of expected node names.
    	}{
    		{
    			name: "No node should be attempted",
    			nodesStatuses: framework.NodeToStatusMap{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 15:52:16 UTC 2024
    - 18.7K bytes
    - Viewed (0)
Back to top