Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 30 for DefaultTypedControllerRateLimiter (0.44 sec)

  1. pkg/kubelet/cm/dra/plugin/noderesources.go

    	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),
    	}
    
    	c.wg.Add(1)
    	go func() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 20:12:53 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  2. pkg/controller/servicecidrs/servicecidrs_controller.go

    	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]](),
    		workerLoopPeriod: time.Second,
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 18K bytes
    - Viewed (0)
  3. pkg/controller/statefulset/stateful_set.go

    		),
    		pvcListerSynced: pvcInformer.Informer().HasSynced,
    		revListerSynced: revInformer.Informer().HasSynced,
    		queue: workqueue.NewTypedRateLimitingQueueWithConfig(
    			workqueue.DefaultTypedControllerRateLimiter[string](),
    			workqueue.TypedRateLimitingQueueConfig[string]{Name: "statefulset"},
    		),
    		podControl: controller.RealPodControl{KubeClient: kubeClient, Recorder: recorder},
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  4. pkg/controller/endpointslice/endpointslice_controller.go

    			),
    			workqueue.TypedRateLimitingQueueConfig[string]{
    				Name: "endpoint_slice",
    			},
    		),
    		topologyQueue: workqueue.NewTypedRateLimitingQueue[string](
    			workqueue.DefaultTypedControllerRateLimiter[string](),
    		),
    		workerLoopPeriod: time.Second,
    	}
    
    	serviceInformer.Informer().AddEventHandler(cache.ResourceEventHandlerFuncs{
    		AddFunc: c.onServiceUpdate,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 08:33:32 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  5. pkg/controller/deployment/deployment_controller.go

    		eventRecorder:    eventBroadcaster.NewRecorder(scheme.Scheme, v1.EventSource{Component: "deployment-controller"}),
    		queue: workqueue.NewTypedRateLimitingQueueWithConfig(
    			workqueue.DefaultTypedControllerRateLimiter[string](),
    			workqueue.TypedRateLimitingQueueConfig[string]{
    				Name: "deployment",
    			},
    		),
    	}
    	dc.rsControl = controller.RealRSControl{
    		KubeClient: client,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  6. pkg/controller/endpoint/endpoints_controller.go

    	recorder := broadcaster.NewRecorder(scheme.Scheme, v1.EventSource{Component: "endpoint-controller"})
    
    	e := &Controller{
    		client: client,
    		queue: workqueue.NewTypedRateLimitingQueueWithConfig(
    			workqueue.DefaultTypedControllerRateLimiter[string](),
    			workqueue.TypedRateLimitingQueueConfig[string]{
    				Name: "endpoint",
    			},
    		),
    		workerLoopPeriod: time.Second,
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  7. pkg/controller/volume/attachdetach/attach_detach_controller.go

    		podIndexer:  podInformer.Informer().GetIndexer(),
    		nodeLister:  nodeInformer.Lister(),
    		nodesSynced: nodeInformer.Informer().HasSynced,
    		pvcQueue: workqueue.NewTypedRateLimitingQueueWithConfig(
    			workqueue.DefaultTypedControllerRateLimiter[string](),
    			workqueue.TypedRateLimitingQueueConfig[string]{Name: "pvcs"},
    		),
    	}
    
    	adc.csiNodeLister = csiNodeInformer.Lister()
    	adc.csiNodeSynced = csiNodeInformer.Informer().HasSynced
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  8. pkg/controller/cronjob/cronjob_controllerv2.go

    	logger := klog.FromContext(ctx)
    	eventBroadcaster := record.NewBroadcaster(record.WithContext(ctx))
    
    	jm := &ControllerV2{
    		queue: workqueue.NewTypedRateLimitingQueueWithConfig(
    			workqueue.DefaultTypedControllerRateLimiter[string](),
    			workqueue.TypedRateLimitingQueueConfig[string]{
    				Name: "cronjob",
    			},
    		),
    		kubeClient:  kubeClient,
    		broadcaster: eventBroadcaster,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 03:34:25 UTC 2024
    - 29.2K bytes
    - Viewed (0)
  9. pkg/controller/replicaset/replica_set.go

    		burstReplicas:    burstReplicas,
    		expectations:     controller.NewUIDTrackingControllerExpectations(controller.NewControllerExpectations()),
    		queue: workqueue.NewTypedRateLimitingQueueWithConfig(
    			workqueue.DefaultTypedControllerRateLimiter[string](),
    			workqueue.TypedRateLimitingQueueConfig[string]{Name: queueName},
    		),
    	}
    
    	rsInformer.Informer().AddEventHandler(cache.ResourceEventHandlerFuncs{
    		AddFunc: func(obj interface{}) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  10. pkg/controller/resourceclaim/controller.go

    		templateLister:      templateInformer.Lister(),
    		templatesSynced:     templateInformer.Informer().HasSynced,
    		queue: workqueue.NewTypedRateLimitingQueueWithConfig(
    			workqueue.DefaultTypedControllerRateLimiter[string](),
    			workqueue.TypedRateLimitingQueueConfig[string]{Name: "resource_claim"},
    		),
    		deletedObjects: newUIDCache(maxUIDCacheEntries),
    	}
    
    	metrics.RegisterMetrics()
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 03:34:25 UTC 2024
    - 37.1K bytes
    - Viewed (0)
Back to top