Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for NewTokenBucketRateLimiter (0.3 sec)

  1. pkg/controller/nodelifecycle/node_lifecycle_controller.go

    	if _, found := nc.zoneStates[zone]; !found {
    		nc.zoneStates[zone] = stateInitial
    		nc.zoneNoExecuteTainter[zone] =
    			scheduler.NewRateLimitedTimedQueue(
    				flowcontrol.NewTokenBucketRateLimiter(nc.evictionLimiterQPS, scheduler.EvictionRateLimiterBurst))
    		// Init the metric for the new zone.
    		logger.Info("Initializing eviction metric for zone", "zone", zone)
    		evictionsTotal.WithLabelValues(zone).Add(0)
    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