Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for zoneNoExecuteTainter (0.56 sec)

  1. pkg/controller/nodelifecycle/node_lifecycle_controller.go

    	switch state {
    	case stateNormal:
    		nc.zoneNoExecuteTainter[zone].SwapLimiter(nc.evictionLimiterQPS)
    	case statePartialDisruption:
    		nc.zoneNoExecuteTainter[zone].SwapLimiter(
    			nc.enterPartialDisruptionFunc(zoneSize))
    	case stateFullDisruption:
    		nc.zoneNoExecuteTainter[zone].SwapLimiter(
    			nc.enterFullDisruptionFunc(zoneSize))
    	}
    }
    
    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/controller/nodelifecycle/node_lifecycle_controller_test.go

    			t.Errorf("unexpected error: %v", err)
    		}
    		zones := testutil.GetZones(item.fakeNodeHandler)
    		logger, _ := ktesting.NewTestContext(t)
    		for _, zone := range zones {
    			nodeController.zoneNoExecuteTainter[zone].Try(logger, func(value scheduler.TimedValue) (bool, time.Duration) {
    				nodeUID, _ := value.UID.(string)
    				pods, err := nodeController.getPodsAssignedToNode(value.Value)
    				if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 03:26:45 UTC 2024
    - 119K bytes
    - Viewed (0)
Back to top