Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 62 for NewTypedRateLimitingQueueWithConfig (0.61 sec)

  1. pkg/controller/volume/expand/expand_controller.go

    	expc := &expandController{
    		kubeClient: kubeClient,
    		pvcLister:  pvcInformer.Lister(),
    		pvcsSynced: pvcInformer.Informer().HasSynced,
    		queue: workqueue.NewTypedRateLimitingQueueWithConfig(
    			workqueue.DefaultTypedControllerRateLimiter[string](),
    			workqueue.TypedRateLimitingQueueConfig[string]{Name: "volume_expand"},
    		),
    		translator:               translator,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  2. pkg/controller/volume/pvcprotection/pvc_protection_controller.go

    	e := &Controller{
    		client: cl,
    		queue: workqueue.NewTypedRateLimitingQueueWithConfig(
    			workqueue.DefaultTypedControllerRateLimiter[string](),
    			workqueue.TypedRateLimitingQueueConfig[string]{Name: "pvcprotection"},
    		),
    	}
    
    	e.pvcLister = pvcInformer.Lister()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 14K bytes
    - Viewed (0)
  3. pkg/controlplane/controller/clusterauthenticationtrust/cluster_authentication_trust_controller.go

    		configMapClient:            kubeClient.CoreV1(),
    		namespaceClient:            kubeClient.CoreV1(),
    		queue: workqueue.NewTypedRateLimitingQueueWithConfig(
    			workqueue.DefaultTypedControllerRateLimiter[string](),
    			workqueue.TypedRateLimitingQueueConfig[string]{Name: "cluster_authentication_trust_controller"},
    		),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  4. pkg/kubelet/logs/container_log_manager.go

    		policy: LogRotatePolicy{
    			MaxSize:  parsedMaxSize,
    			MaxFiles: maxFiles,
    		},
    		clock:      clock.RealClock{},
    		mutex:      sync.Mutex{},
    		maxWorkers: maxWorkers,
    		queue: workqueue.NewTypedRateLimitingQueueWithConfig(
    			workqueue.DefaultTypedControllerRateLimiter[string](),
    			workqueue.TypedRateLimitingQueueConfig[string]{Name: "kubelet_log_rotate_manager"},
    		),
    		monitoringPeriod: monitorInterval,
    	}, nil
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 15K bytes
    - Viewed (0)
  5. pkg/controller/disruption/disruption.go

    	clock clock.WithTicker,
    	stalePodDisruptionTimeout time.Duration,
    ) *DisruptionController {
    	logger := klog.FromContext(ctx)
    	dc := &DisruptionController{
    		kubeClient: kubeClient,
    		queue: workqueue.NewTypedRateLimitingQueueWithConfig(
    			workqueue.DefaultTypedControllerRateLimiter[string](),
    			workqueue.TypedRateLimitingQueueConfig[string]{
    				DelayingQueue: workqueue.NewTypedDelayingQueueWithConfig(workqueue.TypedDelayingQueueConfig[string]{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 36.1K bytes
    - Viewed (0)
  6. pkg/controller/servicecidrs/servicecidrs_controller.go

    	broadcaster := record.NewBroadcaster(record.WithContext(ctx))
    	recorder := broadcaster.NewRecorder(scheme.Scheme, v1.EventSource{Component: controllerName})
    	c := &Controller{
    		client: client,
    		queue: workqueue.NewTypedRateLimitingQueueWithConfig(
    			workqueue.DefaultTypedControllerRateLimiter[string](),
    			workqueue.TypedRateLimitingQueueConfig[string]{Name: "ipaddresses"},
    		),
    		tree:             iptree.New[sets.Set[string]](),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 18K bytes
    - Viewed (0)
  7. pkg/kubelet/cm/dra/plugin/noderesources.go

    	ctx = klog.NewContext(ctx, logger)
    
    	c := &nodeResourcesController{
    		ctx:        ctx,
    		kubeClient: kubeClient,
    		getNode:    getNode,
    		queue: workqueue.NewTypedRateLimitingQueueWithConfig(
    			workqueue.DefaultTypedControllerRateLimiter[string](),
    			workqueue.TypedRateLimitingQueueConfig[string]{Name: "node_resource_slices"},
    		),
    		activePlugins: make(map[string]*activePlugin),
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 20:12:53 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  8. pkg/controller/statefulset/stateful_set.go

    			history.NewHistory(kubeClient, revInformer.Lister()),
    		),
    		pvcListerSynced: pvcInformer.Informer().HasSynced,
    		revListerSynced: revInformer.Informer().HasSynced,
    		queue: workqueue.NewTypedRateLimitingQueueWithConfig(
    			workqueue.DefaultTypedControllerRateLimiter[string](),
    			workqueue.TypedRateLimitingQueueConfig[string]{Name: "statefulset"},
    		),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  9. pkg/controller/endpointslicemirroring/endpointslicemirroring_controller.go

    		// processes events that can require significant EndpointSlice changes.
    		// A more significant rate limit back off here helps ensure that the
    		// Controller does not overwhelm the API Server.
    		queue: workqueue.NewTypedRateLimitingQueueWithConfig(workqueue.NewTypedMaxOfRateLimiter(
    			workqueue.NewTypedItemExponentialFailureRateLimiter[string](defaultSyncBackOff, maxSyncBackOff),
    			// 10 qps, 100 bucket size. This is only for retry speed and its
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 06 23:18:31 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  10. pkg/controller/endpointslice/endpointslice_controller.go

    		// such as an update to a Service or Deployment. A more significant
    		// rate limit back off here helps ensure that the Controller does not
    		// overwhelm the API Server.
    		serviceQueue: workqueue.NewTypedRateLimitingQueueWithConfig(
    			workqueue.NewTypedMaxOfRateLimiter(
    				workqueue.NewTypedItemExponentialFailureRateLimiter[string](defaultSyncBackOff, maxSyncBackOff),
    				// 10 qps, 100 bucket size. This is only for retry speed and its
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 08:33:32 UTC 2024
    - 23.6K bytes
    - Viewed (0)
Back to top