Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 149 for nodeAdd (0.18 sec)

  1. pkg/scheduler/internal/queue/events.go

    	// to be more schedulable.
    	AssignedPodAdd = framework.ClusterEvent{Resource: framework.Pod, ActionType: framework.Add, Label: "AssignedPodAdd"}
    	// NodeAdd is the event when a new node is added to the cluster.
    	NodeAdd = framework.ClusterEvent{Resource: framework.Node, ActionType: framework.Add, Label: "NodeAdd"}
    	// AssignedPodUpdate is the event when a pod is updated that causes pods with matching affinity
    	// terms to be more schedulable.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  2. pkg/scheduler/internal/queue/scheduling_queue_test.go

    		t.Fatalf("unexpected error from AddUnschedulableIfNotPresent: %v", err)
    	}
    	expectInFlightPods(t, q)
    	// This NodeAdd event moves unschedulablePodInfo and highPriorityPodInfo to the backoffQ,
    	// because of the queueing hint function registered for NodeAdd/fooPlugin.
    	q.MoveAllToActiveOrBackoffQueue(logger, NodeAdd, nil, nil, nil)
    	q.Add(logger, medPriorityPodInfo.Pod)
    	if q.activeQ.Len() != 1 {
    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. pkg/scheduler/framework/plugins/volumezone/volume_zone.go

    		// A new node or updating a node's volume zone labels may make a pod schedulable.
    		//
    		// A note about UpdateNodeTaint event:
    		// NodeAdd QueueingHint isn't always called because of the internal feature called preCheck.
    		// As a common problematic scenario,
    		// when a node is added but not ready, NodeAdd event is filtered out by preCheck and doesn't arrive.
    		// In such cases, this plugin may miss some events that actually make pods schedulable.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 16 14:13:06 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  4. pkg/scheduler/framework/plugins/podtopologyspread/plugin.go

    		// and make these pod in scheduling schedulable or unschedulable.
    		//
    		// A note about UpdateNodeTaint event:
    		// NodeAdd QueueingHint isn't always called because of the internal feature called preCheck.
    		// As a common problematic scenario,
    		// when a node is added but not ready, NodeAdd event is filtered out by preCheck and doesn't arrive.
    		// In such cases, this plugin may miss some events that actually make pods schedulable.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 16 14:13:06 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  5. pkg/scheduler/framework/plugins/interpodaffinity/plugin.go

    		// adding an assigned Pod may make it schedulable.
    		//
    		// A note about UpdateNodeTaint event:
    		// NodeAdd QueueingHint isn't always called because of the internal feature called preCheck.
    		// As a common problematic scenario,
    		// when a node is added but not ready, NodeAdd event is filtered out by preCheck and doesn't arrive.
    		// In such cases, this plugin may miss some events that actually make pods schedulable.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 12 03:08:44 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  6. pkg/scheduler/framework/plugins/volumebinding/volume_binding.go

    		// A new or updated node may make pods schedulable.
    		//
    		// A note about UpdateNodeTaint event:
    		// NodeAdd QueueingHint isn't always called because of the internal feature called preCheck.
    		// As a common problematic scenario,
    		// when a node is added but not ready, NodeAdd event is filtered out by preCheck and doesn't arrive.
    		// In such cases, this plugin may miss some events that actually make pods schedulable.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 16 14:13:06 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  7. pkg/scheduler/framework/types.go

    	// this plugin would implement QueueingHint for Pod/Update event
    	// that returns Queue when such label changes are made in unscheduled Pods.
    	Pod GVK = "Pod"
    	// A note about NodeAdd event and UpdateNodeTaint event:
    	// NodeAdd QueueingHint isn't always called because of the internal feature called preCheck.
    	// It's definitely not something expected for plugin developers,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 19:28:17 UTC 2024
    - 36.7K bytes
    - Viewed (0)
  8. pkg/controller/volume/attachdetach/attach_detach_controller.go

    		return nil, fmt.Errorf("could not initialize attach detach controller: %w", err)
    	}
    
    	nodeInformer.Informer().AddEventHandler(kcache.ResourceEventHandlerFuncs{
    		AddFunc: func(obj interface{}) {
    			adc.nodeAdd(logger, obj)
    		},
    		UpdateFunc: func(oldObj, newObj interface{}) {
    			adc.nodeUpdate(logger, oldObj, newObj)
    		},
    		DeleteFunc: func(obj interface{}) {
    			adc.nodeDelete(logger, obj)
    		},
    	})
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  9. pkg/scheduler/eventhandlers.go

    		return
    	}
    
    	logger.V(3).Info("Add event for node", "node", klog.KObj(node))
    	nodeInfo := sched.Cache.AddNode(logger, node)
    	sched.SchedulingQueue.MoveAllToActiveOrBackoffQueue(logger, queue.NodeAdd, nil, node, preCheckForNode(nodeInfo))
    }
    
    func (sched *Scheduler) updateNodeInCache(oldObj, newObj interface{}) {
    	logger := sched.logger
    	oldNode, ok := oldObj.(*v1.Node)
    	if !ok {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:21:04 UTC 2024
    - 24K bytes
    - Viewed (0)
  10. pkg/scheduler/framework/plugins/dynamicresources/dynamicresources.go

    		// A new or updated node may make pods schedulable.
    		//
    		// A note about UpdateNodeTaint event:
    		// NodeAdd QueueingHint isn't always called because of the internal feature called preCheck.
    		// As a common problematic scenario,
    		// when a node is added but not ready, NodeAdd event is filtered out by preCheck and doesn't arrive.
    		// In such cases, this plugin may miss some events that actually make pods schedulable.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 15:22:37 UTC 2024
    - 75.9K bytes
    - Viewed (0)
Back to top