Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for podUpdateQueue (0.3 sec)

  1. pkg/controller/tainteviction/taint_eviction.go

    			hash := hash(podUpdate.nodeName, UpdateWorkerSize)
    			select {
    			case <-stopCh:
    				tc.podUpdateQueue.Done(podUpdate)
    				return
    			case tc.podUpdateChannels[hash] <- podUpdate:
    				// tc.podUpdateQueue.Done is called by the podUpdateChannels worker
    			}
    		}
    	}(ctx.Done())
    
    	wg := sync.WaitGroup{}
    	wg.Add(UpdateWorkerSize)
    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/nodelifecycle/node_lifecycle_controller.go

    		podItem := podUpdateItem{newPod.Namespace, newPod.Name}
    		nc.podUpdateQueue.Add(podItem)
    	}
    }
    
    func (nc *Controller) doPodProcessingWorker(ctx context.Context) {
    	for {
    		obj, shutdown := nc.podUpdateQueue.Get()
    		// "podUpdateQueue" will be shutdown when "stopCh" closed;
    		// we do not need to re-check "stopCh" again.
    		if shutdown {
    			return
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 51.6K bytes
    - Viewed (0)
Back to top