Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 63 for Nodes (0.33 sec)

  1. pkg/controller/nodelifecycle/node_lifecycle_controller.go

    			logger.Info("Controller detected that some Nodes are Ready. Exiting master disruption mode")
    			// When exiting disruption mode update probe timestamps on all Nodes.
    			now := nc.now()
    			for i := range nodes {
    				v := nc.nodeHealthMap.getDeepCopy(nodes[i].Name)
    				v.probeTimestamp = now
    				v.readyTransitionTimestamp = now
    				nc.nodeHealthMap.set(nodes[i].Name, v)
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/plugins/defaultpreemption/default_preemption_test.go

    			nodes:    []string{"node1"},
    			expected: false,
    		},
    	}
    
    	for _, test := range tests {
    		t.Run(test.name, func(t *testing.T) {
    			logger, ctx := ktesting.NewTestContext(t)
    			ctx, cancel := context.WithCancel(ctx)
    			defer cancel()
    			var nodes []*v1.Node
    			for _, n := range test.nodes {
    				nodes = append(nodes, st.MakeNode().Name(n).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/controller/volume/attachdetach/reconciler/reconciler_test.go

    		nodeLister := informerFactory.Core().V1().Nodes().Lister()
    		nsu := statusupdater.NewFakeNodeStatusUpdater(false /* returnError */)
    		rc := NewReconciler(
    			reconcilerLoopPeriod, maxWaitForUnmountDuration, syncLoopPeriod, false, false, dsw, asw, ad, nsu, nodeLister, fakeRecorder)
    
    		nodes := []k8stypes.NodeName{}
    		for _, n := range test.nodes {
    			dsw.AddNode(n.name)
    			nodes = append(nodes, n.name)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 07:00:14 UTC 2024
    - 72.8K bytes
    - Viewed (0)
  4. pkg/scheduler/framework/plugins/noderesources/fit_test.go

    			snapshot := cache.NewSnapshot(test.existingPods, test.nodes)
    			fh, _ := runtime.NewFramework(ctx, nil, nil, runtime.WithSnapshotSharedLister(snapshot))
    			args := test.nodeResourcesFitArgs
    			p, err := NewFit(ctx, &args, fh, plfeature.Features{})
    			if err != nil {
    				t.Fatalf("unexpected error: %v", err)
    			}
    
    			var gotPriorities framework.NodeScoreList
    			for _, n := range test.nodes {
    				if test.runPreScore {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 57.4K bytes
    - Viewed (0)
  5. pkg/scheduler/framework/plugins/volumebinding/binder_test.go

    			initPVCs:   []*v1.PersistentVolumeClaim{boundPVCNode1a},
    			nodes:      []*v1.Node{node1NoLabels},
    			shouldFail: true,
    		},
    		"node-affinity-fails-dynamic-provisioning": {
    			initPVs:          []*v1.PersistentVolume{pvNode1a, pvNode2},
    			initPVCs:         []*v1.PersistentVolumeClaim{selectedNodePVC},
    			claimToProvision: selectedNodePVC,
    			nodes:            []*v1.Node{node1, node2},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 09:46:58 UTC 2024
    - 82.8K bytes
    - Viewed (0)
  6. pkg/scheduler/framework/plugins/dynamicresources/dynamicresources.go

    	logger.V(5).Info("remembering potential nodes", "pod", klog.KObj(pod), "potentialnodes", klog.KObjSlice(nodes))
    	numNodes := len(nodes)
    	if numNodes > resourcev1alpha2.PodSchedulingNodeListMaxSize {
    		numNodes = resourcev1alpha2.PodSchedulingNodeListMaxSize
    	}
    	potentialNodes := make([]string, 0, numNodes)
    	if numNodes == len(nodes) {
    		// Copy all node names.
    		for _, node := range nodes {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 15:22:37 UTC 2024
    - 75.9K bytes
    - Viewed (0)
  7. pkg/controller/daemon/daemon_controller.go

    	}
    
    	return nil
    }
    
    // manage manages the scheduling and running of Pods of ds on nodes.
    // After figuring out which nodes should run a Pod of ds but not yet running one and
    // which nodes should not run a Pod of ds but currently running one, it calls function
    // syncNodes with a list of pods to remove and a list of nodes to run a Pod of ds.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 51.3K bytes
    - Viewed (0)
  8. pkg/scheduler/framework/runtime/framework.go

    func (f *frameworkImpl) runPreScorePlugin(ctx context.Context, pl framework.PreScorePlugin, state *framework.CycleState, pod *v1.Pod, nodes []*framework.NodeInfo) *framework.Status {
    	if !state.ShouldRecordPluginMetrics() {
    		return pl.PreScore(ctx, state, pod, nodes)
    	}
    	startTime := time.Now()
    	status := pl.PreScore(ctx, state, pod, nodes)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 60.9K bytes
    - Viewed (0)
  9. pkg/controller/endpointslice/endpointslice_controller_test.go

    		cpu       *resource.Quantity
    	}
    
    	testCases := []struct {
    		name                 string
    		nodes                []nodeInfo
    		topologyCacheEnabled bool
    		endpointZoneInfo     map[string]topologycache.EndpointZoneInfo
    		expectedQueueLen     int
    	}{{
    		name:                 "empty",
    		nodes:                []nodeInfo{},
    		topologyCacheEnabled: false,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 08:33:32 UTC 2024
    - 65.5K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/apps/v1/types.go

    	// The total number of nodes that should be running the daemon
    	// pod (including nodes correctly running the daemon pod).
    	// More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/
    	DesiredNumberScheduled int32 `json:"desiredNumberScheduled" protobuf:"varint,3,opt,name=desiredNumberScheduled"`
    
    	// numberReady is the number of nodes that should be running the daemon pod and have one
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 49.1K bytes
    - Viewed (0)
Back to top