Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for handleNodeUpdate (0.21 sec)

  1. pkg/controller/tainteviction/taint_eviction.go

    		case nodeUpdate := <-tc.nodeUpdateChannels[worker]:
    			tc.handleNodeUpdate(ctx, nodeUpdate)
    			tc.nodeUpdateQueue.Done(nodeUpdate)
    		case podUpdate := <-tc.podUpdateChannels[worker]:
    			// If we found a Pod update we need to empty Node queue first.
    		priority:
    			for {
    				select {
    				case nodeUpdate := <-tc.nodeUpdateChannels[worker]:
    					tc.handleNodeUpdate(ctx, nodeUpdate)
    					tc.nodeUpdateQueue.Done(nodeUpdate)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  2. pkg/controller/tainteviction/taint_eviction_test.go

    	nodeIndexer.Add(untaintedNode)
    	controller.handleNodeUpdate(ctx, nodeUpdateItem{"node1"})
    	// verify pod is not queued for deletion
    	if controller.taintEvictionQueue.GetWorkerUnsafe(podNamespacedName.String()) != nil {
    		t.Fatalf("pod queued for deletion with no taints")
    	}
    
    	// no taint -> infinitely tolerated taint
    	nodeIndexer.Update(singleTaintedNode)
    	controller.handleNodeUpdate(ctx, nodeUpdateItem{"node1"})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 31.3K bytes
    - Viewed (0)
Back to top